Share via


AnalyzedTokenInfo Class

Definition

Information about a token returned by an analyzer.

public class AnalyzedTokenInfo
public class AnalyzedTokenInfo : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.AnalyzedTokenInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.AnalyzedTokenInfo>
type AnalyzedTokenInfo = class
type AnalyzedTokenInfo = class
    interface IJsonModel<AnalyzedTokenInfo>
    interface IPersistableModel<AnalyzedTokenInfo>
Public Class AnalyzedTokenInfo
Public Class AnalyzedTokenInfo
Implements IJsonModel(Of AnalyzedTokenInfo), IPersistableModel(Of AnalyzedTokenInfo)
Inheritance
AnalyzedTokenInfo
Implements

Properties

EndOffset

The index of the last character of the token in the input text.

Position

The position of the token in the input text relative to other tokens. The first token in the input text has position 0, the next has position 1, and so on. Depending on the analyzer used, some tokens might have the same position, for example if they are synonyms of each other.

StartOffset

The index of the first character of the token in the input text.

Token

The token returned by the analyzer.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AnalyzedTokenInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AnalyzedTokenInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AnalyzedTokenInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AnalyzedTokenInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AnalyzedTokenInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to