Share via


KeywordTokenizer Class

Definition

Caution

This type is obsolete. Please use KeywordTokenizerV2 instead.

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.KeywordTokenizer")]
[System.Obsolete("This type is obsolete. Please use KeywordTokenizerV2 instead.")]
public class KeywordTokenizer : Microsoft.Azure.Search.Models.Tokenizer
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.KeywordTokenizer")>]
[<System.Obsolete("This type is obsolete. Please use KeywordTokenizerV2 instead.")>]
type KeywordTokenizer = class
    inherit Tokenizer
Public Class KeywordTokenizer
Inherits Tokenizer
Inheritance
KeywordTokenizer
Attributes
Newtonsoft.Json.JsonObjectAttribute ObsoleteAttribute

Constructors

KeywordTokenizer()

Initializes a new instance of the KeywordTokenizer class.

KeywordTokenizer(String, Nullable<Int32>)

Initializes a new instance of the KeywordTokenizer class.

Properties

BufferSize

Gets or sets the read buffer size in bytes. Default is 256.

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