다음을 통해 공유


CustomNormalizer Class

Definition

Allows you to configure normalization for filterable, sortable, and facetable fields, which by default operate with strict matching. This is a user-defined configuration consisting of at least one or more filters, which modify the token that is stored.

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

Constructors

CustomNormalizer(String)

Initializes a new instance of CustomNormalizer.

Properties

CharFilters

A list of character filters used to prepare input text before it is processed. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed.

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'.

(Inherited from LexicalNormalizer)
TokenFilters

A list of token filters used to filter out or modify the input token. For example, you can specify a lowercase filter that converts all characters to lowercase. The filters are run in the order in which they are listed.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CustomNormalizer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomNormalizer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<LexicalNormalizer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from LexicalNormalizer)
IJsonModel<LexicalNormalizer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from LexicalNormalizer)
IPersistableModel<CustomNormalizer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomNormalizer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomNormalizer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<LexicalNormalizer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from LexicalNormalizer)
IPersistableModel<LexicalNormalizer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from LexicalNormalizer)
IPersistableModel<LexicalNormalizer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from LexicalNormalizer)

Applies to