Package version:

Interface CustomNormalizer

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.

interface CustomNormalizer {
    charFilters?: string[];
    name: string;
    odatatype: "#Microsoft.Azure.Search.CustomNormalizer";
    tokenFilters?: string[];
}

Hierarchy (view full)

Properties

charFilters?: string[]

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: string

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

odatatype

Polymorphic discriminator, which specifies the different types this object can be

tokenFilters?: string[]

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.