EdgeNGramTokenizer Constructors

Definition

Overloads

EdgeNGramTokenizer()

Initializes a new instance of the EdgeNGramTokenizer class.

EdgeNGramTokenizer(String, Nullable<Int32>, Nullable<Int32>, IList<TokenCharacterKind>)

Initializes a new instance of the EdgeNGramTokenizer class.

EdgeNGramTokenizer()

Initializes a new instance of the EdgeNGramTokenizer class.

public EdgeNGramTokenizer ();
Public Sub New ()

EdgeNGramTokenizer(String, Nullable<Int32>, Nullable<Int32>, IList<TokenCharacterKind>)

Initializes a new instance of the EdgeNGramTokenizer class.

public EdgeNGramTokenizer (string name, Nullable<int> minGram = null, Nullable<int> maxGram = null, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.TokenCharacterKind> tokenChars = null);
new Microsoft.Azure.Search.Models.EdgeNGramTokenizer : string * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.TokenCharacterKind> -> Microsoft.Azure.Search.Models.EdgeNGramTokenizer
Public Sub New (name As String, Optional minGram As Nullable(Of Integer) = null, Optional maxGram As Nullable(Of Integer) = null, Optional tokenChars As IList(Of TokenCharacterKind) = null)

Parameters

name
String

The name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.

minGram
Nullable<Int32>

The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram.

maxGram
Nullable<Int32>

The maximum n-gram length. Default is 2. Maximum is 300.

tokenChars
IList<TokenCharacterKind>

Character classes to keep in the tokens.

Applies to