PathHierarchyTokenizerV2 Class
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. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html
[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.PathHierarchyTokenizerV2")]
public class PathHierarchyTokenizerV2 : Microsoft.Azure.Search.Models.Tokenizer
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.PathHierarchyTokenizerV2")>]
type PathHierarchyTokenizerV2 = class
inherit Tokenizer
Public Class PathHierarchyTokenizerV2
Inherits Tokenizer
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
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. |
Properties
Delimiter |
Gets or sets the delimiter character to use. Default is "/". |
MaxTokenLength |
Gets or sets the maximum token length. Default and maximum is 300. |
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. |
Applies to
Azure SDK for .NET