KeywordMarkerTokenFilter Class

Marks terms as keywords. This token filter is implemented using Apache Lucene.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.search.documents.indexes._generated.models._models_py3.TokenFilter
KeywordMarkerTokenFilter

Constructor

KeywordMarkerTokenFilter(*, name: str, keywords: List[str], ignore_case: Optional[bool] = False, **kwargs)

Parameters

odata_type
str
Required

Required. Identifies the concrete type of the token filter.Constant filled by server.

name
str
Required

Required. The name of the token 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.

keywords
list[str]
Required

Required. A list of words to mark as keywords.

ignore_case
bool
Required

A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false.