Method GetOrAddAnalyzerDefinition
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Search.Definitions
- Assembly
- MongoDB.EntityFrameworkCore.dll
GetOrAddAnalyzerDefinition(string)
Finds the definition for the given analyzer name. If none is found, then a new instance is created and returned.
public SearchIndexAnalyzerDefinition GetOrAddAnalyzerDefinition(string analyzerName)
Parameters
analyzerNamestringThe name of the analyzer.
Returns
- SearchIndexAnalyzerDefinition
The existing definition, or a new one.