SearchModelFactory.PathHierarchyTokenizer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tokenizer for path-like hierarchies. This tokenizer is implemented using Apache Lucene.
public static Azure.Search.Documents.Indexes.Models.PathHierarchyTokenizer PathHierarchyTokenizer(string name = default, char? delimiter = default, char? replacement = default, int? maxTokenLength = default, bool? reverseTokenOrder = default, int? numberOfTokensToSkip = default);
static member PathHierarchyTokenizer : string * Nullable<char> * Nullable<char> * Nullable<int> * Nullable<bool> * Nullable<int> -> Azure.Search.Documents.Indexes.Models.PathHierarchyTokenizer
Public Shared Function PathHierarchyTokenizer (Optional name As String = Nothing, 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) As PathHierarchyTokenizer
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.
A value indicating whether to generate tokens in reverse order. Default is false.
Returns
A new PathHierarchyTokenizer instance for mocking.