a908af7cba
fixes https://github.com/Azure/azure-cosmos-js/issues/72 |
||
---|---|---|
.. | ||
README.md | ||
app.js | ||
package.json |
README.md
While Azure Cosmos DB automatically indexes all paths of all documents in a consistent manner, you have the ability to tweak and customize this behavior should you need (or want) to.
Samples for working with Azure Cosmos DB IndexPolicy on a Collection
- explictlyExcludeFromIndex - how to manually exclude a document from being indexed
- useManualIndexing - switch auto indexing off, and then manually add individual docs
- useLazyIndexing - create a collection with indexing mode set to Lazy instead of consistent
- forceScanOnHashIndexPath - use a directive to allow a scan on a string path during a range operation
- useRangeIndexOnStrings - create a range index on string path
- excludePathsFromIndex - create a custom indexPolicy that excludes specific path in document
- performIndexTransforms - create a collection with default indexPolicy, then update this online
- waitForIndexTransforms - waits for index transform to complete by repeatedly doing a readCollection checking and checking headers