Table of Contents

Class RegexSplitTokenizerDefinition

Namespace
MongoDB.EntityFrameworkCore.Metadata.Search.Definitions
Assembly
MongoDB.EntityFrameworkCore.dll

Definition for the "regexSplit" tokenizer.

public class RegexSplitTokenizerDefinition : SearchIndexTokenizerDefinition, ISearchIndexDefinition
Inheritance
RegexSplitTokenizerDefinition
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.

Constructors

RegexSplitTokenizerDefinition(string)

Definition for the "regexSplit" tokenizer.

Properties

Name

Uses the type of the tokenizer to address this part of the index definition.

Pattern

The regular expression to match against.

Methods

ToBson()

Generates the BSON for this part of the index definition.