다음을 통해 공유


PathHierarchyTokenizerV2 Constructors

Definition

Overloads

PathHierarchyTokenizerV2()

Initializes a new instance of the PathHierarchyTokenizerV2 class.

PathHierarchyTokenizerV2(String, Nullable<Char>, Nullable<Char>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>)

Initializes a new instance of the PathHierarchyTokenizerV2 class.

PathHierarchyTokenizerV2()

Source:
PathHierarchyTokenizerV2.cs

Initializes a new instance of the PathHierarchyTokenizerV2 class.

public PathHierarchyTokenizerV2 ();
Public Sub New ()

Applies to

PathHierarchyTokenizerV2(String, Nullable<Char>, Nullable<Char>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>)

Source:
PathHierarchyTokenizerV2.cs

Initializes a new instance of the PathHierarchyTokenizerV2 class.

public PathHierarchyTokenizerV2 (string name, char? delimiter = default, char? replacement = default, int? maxTokenLength = default, bool? reverseTokenOrder = default, int? numberOfTokensToSkip = default);
new Microsoft.Azure.Search.Models.PathHierarchyTokenizerV2 : string * Nullable<char> * Nullable<char> * Nullable<int> * Nullable<bool> * Nullable<int> -> Microsoft.Azure.Search.Models.PathHierarchyTokenizerV2
Public Sub New (name As String, Optional delimiter As Nullable(Of Char) = Nothing, Optional replacement As Nullable(Of Char) = Nothing, Optional maxTokenLength As Nullable(Of Integer) = Nothing, Optional reverseTokenOrder As Nullable(Of Boolean) = Nothing, Optional numberOfTokensToSkip 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.

delimiter
Nullable<Char>

The delimiter character to use. Default is "/".

replacement
Nullable<Char>

A value that, if set, replaces the delimiter character. Default is "/".

maxTokenLength
Nullable<Int32>

The maximum token length. Default and maximum is 300.

reverseTokenOrder
Nullable<Boolean>

A value indicating whether to generate tokens in reverse order. Default is false.

numberOfTokensToSkip
Nullable<Int32>

The number of initial tokens to skip. Default is 0.

Applies to