Class StopAnalyzer
- java.lang.Object
-
- com.azure.search.documents.indexes.models.LexicalAnalyzer
-
- com.azure.search.documents.indexes.models.StopAnalyzer
-
public final class StopAnalyzer extends LexicalAnalyzer
Divides text at non-letters; Applies the lowercase and stopword token filters. This analyzer is implemented using Apache Lucene.
-
-
Constructor Summary
Constructors Constructor Description StopAnalyzer(String name)
Creates an instance of StopAnalyzer class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getStopwords()
Get the stopwords property: A list of stopwords.StopAnalyzer
setStopwords(String... stopwords)
Set the stopwords property: A list of stopwords.StopAnalyzer
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 Detail
-
StopAnalyzer
public StopAnalyzer(String name)
Creates an instance of StopAnalyzer class.- Parameters:
name
- the name value to set.
-
-
Method Detail
-
getStopwords
public List<String> getStopwords()
Get the stopwords property: A list of stopwords.- Returns:
- the stopwords value.
-
setStopwords
public StopAnalyzer setStopwords(List<String> stopwords)
Set the stopwords property: A list of stopwords.- Parameters:
stopwords
- the stopwords value to set.- Returns:
- the StopAnalyzer object itself.
-
setStopwords
public StopAnalyzer setStopwords(String... stopwords)
Set the stopwords property: A list of stopwords.- Parameters:
stopwords
- the stopwords value to set.- Returns:
- the StopAnalyzer object itself.
-
-