Class StopwordsAnalyzerProperties

java.lang.Object
com.arangodb.entity.arangosearch.analyzer.StopwordsAnalyzerProperties

public final class StopwordsAnalyzerProperties extends Object
Author:
Michele Rastelli
  • Constructor Details

    • StopwordsAnalyzerProperties

      public StopwordsAnalyzerProperties()
  • Method Details

    • getStopwords

      public List<String> getStopwords()
    • getStopwordsAsStringList

      public List<String> getStopwordsAsStringList()
      Returns:
      list of verbatim strings that describe the tokens to be discarded.
    • getStopwordsAsHexList

      public List<String> getStopwordsAsHexList()
      Returns:
      list of hex-encoded strings that describe the tokens to be discarded.
    • getHex

      public boolean getHex()
      Returns:
      if false each string in stopwords is used as verbatim, if true as hex-encoded.
    • addStopwordAsString

      public StopwordsAnalyzerProperties addStopwordAsString(String value)
      Parameters:
      value - stopword as verbatim string
      Returns:
      this
    • addStopwordAsHex

      public StopwordsAnalyzerProperties addStopwordAsHex(String value)
      Parameters:
      value - stopword as hex string
      Returns:
      this
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object