CustomLexicalNormalizer interface

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.

Extends

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.

odatatype

A URI fragment specifying the type of normalizer.

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.

Inherited Properties

name

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

Property Details

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.

charFilters?: string[]

Property Value

string[]

odatatype

A URI fragment specifying the type of normalizer.

odatatype: "#Microsoft.Azure.Search.CustomNormalizer"

Property Value

"#Microsoft.Azure.Search.CustomNormalizer"

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.

tokenFilters?: string[]

Property Value

string[]

Inherited Property Details

name

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

name: string

Property Value

string

Inherited From LexicalNormalizer.name