PathHierarchyTokenizer Class

Definition

Caution

This type is obsolete. Please use PathHierarchyTokenizerV2 instead.

Tokenizer for path-like hierarchies. This tokenizer is implemented using Apache Lucene. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html

[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.PathHierarchyTokenizer")]
[System.Obsolete("This type is obsolete. Please use PathHierarchyTokenizerV2 instead.")]
public class PathHierarchyTokenizer : Microsoft.Azure.Search.Models.Tokenizer
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.PathHierarchyTokenizer")>]
[<System.Obsolete("This type is obsolete. Please use PathHierarchyTokenizerV2 instead.")>]
type PathHierarchyTokenizer = class
    inherit Tokenizer
Public Class PathHierarchyTokenizer
Inherits Tokenizer
Inheritance
PathHierarchyTokenizer
Attributes
Newtonsoft.Json.JsonObjectAttribute ObsoleteAttribute

Constructors

PathHierarchyTokenizer()

Initializes a new instance of the PathHierarchyTokenizer class.

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

Initializes a new instance of the PathHierarchyTokenizer class.

Properties

BufferSize

Gets or sets the buffer size. Default is 1024.

Delimiter

Gets or sets the delimiter character to use. Default is "/".

Name

Gets or sets 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 Tokenizer)
NumberOfTokensToSkip

Gets or sets the number of initial tokens to skip. Default is 0.

Replacement

Gets or sets a value that, if set, replaces the delimiter character. Default is "/".

ReverseTokenOrder

Gets or sets a value indicating whether to generate tokens in reverse order. Default is false.

Methods

Validate()

Validate the object.

(Inherited from Tokenizer)

Applies to