Skip to content

Commit 392910e

Browse files
authored
Merge pull request #36564 from kanshiG/patch-27
Added lazy index faq statement
2 parents 663535e + 5c7006b commit 392910e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/cosmos-db/faq.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ You can bulk-insert documents into Azure Cosmos DB in either of two ways:
160160
* The data migration tool, as described in [Database migration tool for Azure Cosmos DB](import-data.md).
161161
* Stored procedures, as described in [Server-side JavaScript programming for Azure Cosmos DB](programming.md).
162162

163+
### I have setup my collection to use lazy indexing, I see that my queries do not return expected results.
164+
As explained in the indexing section, lazy indexing can result in this behavior. You should almost always use Consistent indexing for all the applications.
165+
166+
163167
### Does the SQL API support resource link caching?
164168
Yes, because Azure Cosmos DB is a RESTful service, resource links are immutable and can be cached. SQL API clients can specify an "If-None-Match" header for reads against any resource-like document or collection and then update their local copies after the server version has changed.
165169

0 commit comments

Comments
 (0)