Class ElisionTokenFilter
- java.lang.Object
-
- com.azure.search.documents.indexes.models.TokenFilter
-
- com.azure.search.documents.indexes.models.ElisionTokenFilter
-
public final class ElisionTokenFilter extends TokenFilter
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 Constructor Description ElisionTokenFilter(String name)
Constructor ofTokenFilter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getArticles()
Get the articles property: The set of articles to remove.ElisionTokenFilter
setArticles(String... articles)
Set the articles property: The set of articles to remove.ElisionTokenFilter
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 Detail
-
ElisionTokenFilter
public ElisionTokenFilter(String name)
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 Detail
-
getArticles
public List<String> getArticles()
Get the articles property: The set of articles to remove.- Returns:
- the articles value.
-
setArticles
public ElisionTokenFilter setArticles(String... articles)
Set the articles property: The set of articles to remove.- Parameters:
articles
- the articles value to set.- Returns:
- the ElisionTokenFilter object itself.
-
setArticles
public ElisionTokenFilter setArticles(List<String> articles)
Set the articles property: The set of articles to remove.- Parameters:
articles
- the articles value to set.- Returns:
- the ElisionTokenFilter object itself.
-
-