PathHierarchyTokenizer Class

Definition

Tokenizer for path-like hierarchies. This tokenizer is implemented using Apache Lucene.

public class PathHierarchyTokenizer : Azure.Search.Documents.Indexes.Models.LexicalTokenizer
type PathHierarchyTokenizer = class
    inherit LexicalTokenizer
Public Class PathHierarchyTokenizer
Inherits LexicalTokenizer
Inheritance
PathHierarchyTokenizer

Constructors

PathHierarchyTokenizer(String)

Initializes a new instance of PathHierarchyTokenizer.

Properties

Delimiter

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

MaxTokenLength

The maximum token length. Default and maximum is 300.

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.

(Inherited from LexicalTokenizer)
NumberOfTokensToSkip

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

Replacement

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

ReverseTokenOrder

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

Applies to