Bagikan melalui


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
type CustomNormalizer = class
    inherit LexicalNormalizer
Public Class CustomNormalizer
Inherits LexicalNormalizer
Inheritance
CustomNormalizer

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.

Applies to