Class PathHierarchyTokenizer
Tokenizer for path-like hierarchies. This tokenizer is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class PathHierarchyTokenizer : Azure.Search.Documents.Indexes.Models.LexicalTokenizer
Constructors
PathHierarchyTokenizer(String)
Initializes a new instance of PathHierarchyTokenizer.
Declaration
public PathHierarchyTokenizer (string name);
Parameters
System.String
name
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. |
Exceptions
System.ArgumentNullException
|
Properties
Delimiter
The delimiter character to use. Default is "/".
Declaration
public Nullable<char> Delimiter { get; set; }
Property Value
System.Nullable<System.Char>
|
MaxTokenLength
The maximum token length. Default and maximum is 300.
Declaration
public Nullable<int> MaxTokenLength { get; set; }
Property Value
System.Nullable<System.Int32>
|
NumberOfTokensToSkip
The number of initial tokens to skip. Default is 0.
Declaration
public Nullable<int> NumberOfTokensToSkip { get; set; }
Property Value
System.Nullable<System.Int32>
|
Replacement
A value that, if set, replaces the delimiter character. Default is "/".
Declaration
public Nullable<char> Replacement { get; set; }
Property Value
System.Nullable<System.Char>
|
ReverseTokenOrder
A value indicating whether to generate tokens in reverse order. Default is false.
Declaration
public Nullable<bool> ReverseTokenOrder { get; set; }
Property Value
System.Nullable<System.Boolean>
|