【发布时间】:2021-01-18 17:15:39
【问题描述】:
自 2020 年 6 月起,Azure Cosmos DB 支持对某些字符串函数(如“包含”)进行performant不区分大小写的搜索。见this MSFT dev-blogs link。这很好,因为字符串函数通常会破坏“常规”数据库的性能。
我的问题:我们正在使用 Gremlin-Graph-API,并且迫切需要此功能,因为区分大小写的搜索会扼杀用户体验。有办法吗?
示例:
g.V().has("name", containing("Fra")) => g.V().has("name", containing("Fra", <caseInsensitive=true>))
【问题讨论】:
标签: azure azure-cosmosdb azure-cosmosdb-gremlinapi