Class ElisionTokenFilter
java.lang.Object
com.azure.search.documents.indexes.models.TokenFilter
com.azure.search.documents.indexes.models.ElisionTokenFilter
Removes elisions. For example, "l'avion" (the plane) will be converted to
"avion" (plane). This token filter is implemented using Apache Lucene.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the articles property: The set of articles to remove.setArticles
(String... articles) Set the articles property: The set of articles to remove.setArticles
(List<String> articles) Set the articles property: The set of articles to remove.Methods inherited from class com.azure.search.documents.indexes.models.TokenFilter
getName
-
Constructor Details
-
ElisionTokenFilter
Constructor ofTokenFilter
.- 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
-
getArticles
Get the articles property: The set of articles to remove.- Returns:
- the articles value.
-
setArticles
Set the articles property: The set of articles to remove.- Parameters:
articles
- the articles value to set.- Returns:
- the ElisionTokenFilter object itself.
-
setArticles
Set the articles property: The set of articles to remove.- Parameters:
articles
- the articles value to set.- Returns:
- the ElisionTokenFilter object itself.
-