Class AsciiFoldingTokenFilter
java.lang.Object
com.azure.search.documents.indexes.models.TokenFilter
com.azure.search.documents.indexes.models.AsciiFoldingTokenFilter
Converts alphabetic, numeric, and symbolic Unicode characters which are not
in the first 127 ASCII characters (the "Basic Latin" Unicode block) into
their ASCII equivalents, if such equivalents exist. This token filter is
implemented using Apache Lucene.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the preserveOriginal property: A value indicating whether the original token will be kept.setPreserveOriginal
(Boolean preserveOriginal) Set the preserveOriginal property: A value indicating whether the original token will be kept.Methods inherited from class com.azure.search.documents.indexes.models.TokenFilter
getName
-
Constructor Details
-
AsciiFoldingTokenFilter
Constructor ofAsciiFoldingTokenFilter
.- Parameters:
name
- 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.
-
-
Method Details
-
isPreserveOriginal
Get the preserveOriginal property: A value indicating whether the original token will be kept. Default is false.- Returns:
- the preserveOriginal value.
-
setPreserveOriginal
Set the preserveOriginal property: A value indicating whether the original token will be kept. Default is false.- Parameters:
preserveOriginal
- the preserveOriginal value to set.- Returns:
- the AsciiFoldingTokenFilter object itself.
-