MongoDB Atlas Search Index Definition
MongoDB Atlas Search index
| Type | object |
|---|---|
| File match |
*-index.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/mongodb-atlas-search-index-definition/latest.json |
| Source | https://www.schemastore.org/mongodb-atlas-search-index-definition.json |
Validate with Lintel
npx @lintel/lintel check
Properties
Specifies how to index fields at different paths for this index.
Specifies the analyzer to apply to string fields when indexing. If you set this only at the top and do not specify an analyzer for the fields in the index definition, Atlas Search applies this analyzer to all the fields. To use a different analyzer for each field, you must specify a different analyzer for the field. If omitted, defaults to Standard Analyzer.
Specifies the Custom Analyzers to use in this index.
Specifies a name for the index. In each namespace, names of all indexes in the namespace must be unique. If omitted, defaults to default.
Specifies the analyzer to apply to query text before searching with it. If omitted, defaults to Standard Analyzer.
Specifies fields in the documents to store for query-time look-ups using the returnedStoredSource option. You can store fields of all BSON Data Types on Atlas Search.
Value can be one of the following: true, to store all fields false, to not store any fields Object that specifies the fields to include or exclude from storage
If omitted, defaults to false.
Synonym mappings to use in your index.
Definitions
Name of the custom analyzer. Names must be unique within an index, and may not start with any of the following strings:
- lucene.
- builtin.
- mongodb.
Tokenizer to use to create tokens.
1 nested properties
Array containing zero or more character filters.
Array containing zero or more token filters.
Tokenizer to use to create tokens.
Human-readable label that identifies this token filter type.
Human-readable label that identifies this character filter type.
List that contains the HTML tags to exclude from filtering.
Specifies how to index fields at different paths for this index.