Class StopwordsAnalyzerProperties
- java.lang.Object
-
- com.arangodb.entity.arangosearch.analyzer.StopwordsAnalyzerProperties
-
public final class StopwordsAnalyzerProperties extends Object
- Author:
- Michele Rastelli
-
-
Constructor Summary
Constructors Constructor Description StopwordsAnalyzerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StopwordsAnalyzerProperties
addStopwordAsHex(String value)
StopwordsAnalyzerProperties
addStopwordAsString(String value)
boolean
equals(Object o)
boolean
getHex()
List<String>
getStopwords()
List<String>
getStopwordsAsHexList()
List<String>
getStopwordsAsStringList()
int
hashCode()
-
-
-
Method Detail
-
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
-
-