Indexing arrays in CosmosDB

后端 未结 2 731
不思量自难忘°
不思量自难忘° 2021-02-15 14:01

Why doesn\'t CosmosDB index arrays by default? The default index path is

\"path\": \"/*\"

Doesn\'t that mean \"index everything\"? Not \"index

2条回答
  •  情深已故
    2021-02-15 14:23

    Cosmos DB does indexes all the element of an Array. By, default, All Azure Cosmos DB data is indexed. Read more here https://docs.microsoft.com/en-us/azure/cosmos-db/indexing-policies

提交回复
热议问题