Module: Google::Cloud::Firestore::Admin::V1::Index::Density
- Defined in:
- proto_docs/google/firestore/admin/v1/index.rb
Overview
The density configuration for the index.
Constant Summary collapse
- DENSITY_UNSPECIFIED =
Unspecified. It will use database default setting. This value is input only.
0
- SPARSE_ALL =
In order for an index entry to be added, the document must contain all fields specified in the index.
This is the only allowed value for indexes having ApiScope
ANY_API
andDATASTORE_MODE_API
. 1
- SPARSE_ANY =
In order for an index entry to be added, the document must contain at least one of the fields specified in the index. Non-existent fields are treated as having a NULL value when generating index entries.
2
- DENSE =
An index entry will be added regardless of whether the document contains any of the fields specified in the index. Non-existent fields are treated as having a NULL value when generating index entries.
3