Class SearchIndexAnalyzerDefinition
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Search.Definitions
- Assembly
- MongoDB.EntityFrameworkCore.dll
The definition for an analyzer in a MongoDB search index.
public class SearchIndexAnalyzerDefinition : SearchIndexDefinitionBase, ISearchIndexDefinition
- Inheritance
-
SearchIndexAnalyzerDefinition
- Implements
- Inherited Members
Remarks
This type is typically used by the database provider. It is only needed by applications when reading metadata from EF Core. Use HasSearchIndex(EntityTypeBuilder, string?) or one of its overloads to configure a MongoDB search index.
Properties
- SearchIndexTokenizerDefinition
The definition for the tokenizer to use.
Methods
- GetOrAddCharacterFilterDefinition<TDefinition>(string)
Finds the definition for the given character filter. If none is found, then a new instance is created and returned.
- GetOrAddTokenFilterDefinition<TDefinition>(string)
Finds the definition for the given token filter. If none is found, then a new instance is created and returned.
- ToBson()
Generates the BSON for this part of the index definition.