Constructor RegexSplitTokenizerDefinition
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Search.Definitions
- Assembly
- MongoDB.EntityFrameworkCore.dll
RegexSplitTokenizerDefinition(string)
Definition for the "regexSplit" tokenizer.
public RegexSplitTokenizerDefinition(string pattern)
Parameters
patternstringThe regular expression to match against.
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.