Share via


KeywordTokenizerV2 Constructors

Definition

Overloads

KeywordTokenizerV2()

Initializes a new instance of the KeywordTokenizerV2 class.

KeywordTokenizerV2(String, Nullable<Int32>)

Initializes a new instance of the KeywordTokenizerV2 class.

KeywordTokenizerV2()

Source:
KeywordTokenizerV2.cs

Initializes a new instance of the KeywordTokenizerV2 class.

public KeywordTokenizerV2 ();
Public Sub New ()

Applies to

KeywordTokenizerV2(String, Nullable<Int32>)

Source:
KeywordTokenizerV2.cs

Initializes a new instance of the KeywordTokenizerV2 class.

public KeywordTokenizerV2 (string name, int? maxTokenLength = default);
new Microsoft.Azure.Search.Models.KeywordTokenizerV2 : string * Nullable<int> -> Microsoft.Azure.Search.Models.KeywordTokenizerV2
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 256. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters.

Applies to