Share via


LexicalAnalyzer Class

Definition

Base type for analyzers. Please note LexicalAnalyzer is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CustomAnalyzer, PatternAnalyzer, LuceneStandardAnalyzer and StopAnalyzer.

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

Properties

Name

The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LexicalAnalyzer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LexicalAnalyzer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LexicalAnalyzer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LexicalAnalyzer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LexicalAnalyzer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to