Skip to content

Commit

Permalink
Adding a clarification about Lazy Index Mode (#12972)
Browse files Browse the repository at this point in the history
* Adding a clarification about Lazy Index Mode

In June 2020, we introduced a change that no longer allows new containers to be set to Lazy indexing mode. If your Azure Cosmos DB account already contains at least one container with lazy indexing, this account is automatically exempt from the change.

https://docs.microsoft.com/en-us/azure/cosmos-db/index-policy

* Update README.md

Adding clarification about other APIs.

* Clarification on Lazy index mode.

Clarification on Lazy index mode.

* Update documents.py

* Update documents.py

* Update documents.py

* Update README.md
  • Loading branch information
Rodrigossz authored Aug 10, 2020
1 parent 2da3573 commit fee4b5f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions sdk/cosmos/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Azure Cosmos DB SQL API client SDKs for Python

Azure Cosmos DB is a globally distributed, multi-model database service that supports document, key-value, wide-column, and graph databases.
Azure Cosmos DB is a globally distributed, multi-model database service that supports document, key-value, wide-column, and graph databases. For more information, go to [https://www.gotcosmos.com/](https://www.gotcosmos.com/) .

For more information, go to [https://www.gotcosmos.com/](https://www.gotcosmos.com/) .

Use the Azure Cosmos DB SQL API SDKs for application development and database management.
Use the Azure Cosmos DB SQL API SDKs for application development and database management. For all other APIs, please check the [documentation](https://docs.microsoft.com/en-us/azure/cosmos-db/introduction) to evaluate the best SDK for your project.

## Contents of this folder

Expand Down
3 changes: 2 additions & 1 deletion sdk/cosmos/azure-cosmos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ The container name must be unique within the database.""")

```
### Logging

This library uses the standard
[logging](https://docs.python.org/3.5/library/logging.html) library for logging.
Basic information about HTTP sessions (URLs, headers, etc.) is logged at INFO
Expand Down Expand Up @@ -382,7 +383,7 @@ For more extensive documentation on the Cosmos DB service, see the [Azure Cosmos
[venv]: https://docs.python.org/3/library/venv.html
[virtualenv]: https://virtualenv.pypa.io

# Contributing
## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos/azure/cosmos/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class IndexingMode(object):
The index is always kept up to date with the data.
:ivar str Lazy:
Index is updated asynchronously with respect to a create or update
operation.
operation. Not supported for new containers since June/2020.
With lazy indexing, queries are eventually consistent. The index is
updated when the collection is idle.
Expand Down

0 comments on commit fee4b5f

Please sign in to comment.