Class StopAnalyzer
java.lang.Object
com.azure.search.documents.indexes.models.LexicalAnalyzer
com.azure.search.documents.indexes.models.StopAnalyzer
Divides text at non-letters; Applies the lowercase and stopword token filters. This analyzer is implemented using
Apache Lucene.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the stopwords property: A list of stopwords.setStopwords
(String... stopwords) Set the stopwords property: A list of stopwords.setStopwords
(List<String> stopwords) Set the stopwords property: A list of stopwords.Methods inherited from class com.azure.search.documents.indexes.models.LexicalAnalyzer
getName
-
Constructor Details
-
StopAnalyzer
Creates an instance of StopAnalyzer class.- Parameters:
name
- the name value to set.
-
-
Method Details
-
getStopwords
Get the stopwords property: A list of stopwords.- Returns:
- the stopwords value.
-
setStopwords
Set the stopwords property: A list of stopwords.- Parameters:
stopwords
- the stopwords value to set.- Returns:
- the StopAnalyzer object itself.
-
setStopwords
Set the stopwords property: A list of stopwords.- Parameters:
stopwords
- the stopwords value to set.- Returns:
- the StopAnalyzer object itself.
-