Class SearchIndexAnalyzersDefinition
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Search.Definitions
- Assembly
- MongoDB.EntityFrameworkCore.dll
The definition for the collection of analyzers added to an index.
public class SearchIndexAnalyzersDefinition : SearchIndexDefinitionBase, ISearchIndexDefinition
- Inheritance
-
SearchIndexAnalyzersDefinition
- 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.
Methods
- GetOrAddAnalyzerDefinition(string)
Finds the definition for the given analyzer name. If none is found, then a new instance is created and returned.
- ToBson()
Generates the BSON for this part of the index definition.