Dela via


ClassicTokenizer Constructors

Definition

Overloads

ClassicTokenizer()

Initializes a new instance of the ClassicTokenizer class.

ClassicTokenizer(String, Nullable<Int32>)

Initializes a new instance of the ClassicTokenizer class.

ClassicTokenizer()

Source:
ClassicTokenizer.cs

Initializes a new instance of the ClassicTokenizer class.

public ClassicTokenizer ();
Public Sub New ()

Applies to

ClassicTokenizer(String, Nullable<Int32>)

Source:
ClassicTokenizer.cs

Initializes a new instance of the ClassicTokenizer class.

public ClassicTokenizer (string name, int? maxTokenLength = default);
new Microsoft.Azure.Search.Models.ClassicTokenizer : string * Nullable<int> -> Microsoft.Azure.Search.Models.ClassicTokenizer
Public Sub New (name As String, Optional maxTokenLength As Nullable(Of Integer) = Nothing)

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.

maxTokenLength
Nullable<Int32>

The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters.

Applies to