Condividi tramite


KeywordTokenizerV2 Class

Definition

Emits the entire input as a single token. This tokenizer is implemented using Apache Lucene. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html

[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.KeywordTokenizerV2")]
public class KeywordTokenizerV2 : Microsoft.Azure.Search.Models.Tokenizer
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.KeywordTokenizerV2")>]
type KeywordTokenizerV2 = class
    inherit Tokenizer
Public Class KeywordTokenizerV2
Inherits Tokenizer
Inheritance
KeywordTokenizerV2
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

KeywordTokenizerV2()

Initializes a new instance of the KeywordTokenizerV2 class.

KeywordTokenizerV2(String, Nullable<Int32>)

Initializes a new instance of the KeywordTokenizerV2 class.

Properties

MaxTokenLength

Gets or sets the maximum token length. Default is 256. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters.

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)

Methods

Validate()

Validate the object.

Applies to