Share via


LexicalNormalizer Class

Definition

Base type for normalizers. Please note LexicalNormalizer 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 CustomNormalizer.

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

Constructors

LexicalNormalizer(String)

Initializes a new instance of LexicalNormalizer.

Properties

Name

The name of the normalizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters. It cannot end in '.microsoft' nor '.lucene', nor be named 'asciifolding', 'standard', 'lowercase', 'uppercase', or 'elision'.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LexicalNormalizer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LexicalNormalizer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LexicalNormalizer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LexicalNormalizer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LexicalNormalizer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to