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 Details

    • StopAnalyzer

      public StopAnalyzer(String name)
      Creates an instance of StopAnalyzer class.
      Parameters:
      name - the name value to set.
  • Method Details

    • 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.