Skip to content

Commit 5c7006b

Browse files
authored
Added lazy index faq
most customers/applications should use consistent indexing.
1 parent a52b369 commit 5c7006b

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
@@ -162,6 +162,10 @@ You can bulk-insert documents into Azure Cosmos DB in either of two ways:
162162
* The data migration tool, as described in [Database migration tool for Azure Cosmos DB](import-data.md).
163163
* Stored procedures, as described in [Server-side JavaScript programming for Azure Cosmos DB](programming.md).
164164

165+
### I have setup my collection to use lazy indexing, I see that my queries do not return expected results.
166+
As explained in the indexing section, lazy indexing can result in this behavior. You should almost always use Consistent indexing for all the applications.
167+
168+
165169
### Does the SQL API support resource link caching?
166170
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.
167171

0 commit comments

Comments
 (0)