Class WildcardAnalyzer
- java.lang.Object
-
- com.arangodb.entity.arangosearch.analyzer.SearchAnalyzer
-
- com.arangodb.entity.arangosearch.analyzer.WildcardAnalyzer
-
public final class WildcardAnalyzer extends SearchAnalyzer
An Analyzer that creates n-grams to enable fast partial matching for wildcard queries if you have large string values, especially if you want to search for suffixes or substrings in the middle of strings (infixes) as opposed to prefixes. It can apply an Analyzer of your choice before creating the n-grams, for example, to normalize text for case-insensitive and accent-insensitive search.- Author:
- Michele Rastelli
- See Also:
- API Documentation
-
-
Constructor Summary
Constructors Constructor Description WildcardAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
WildcardAnalyzerProperties
getProperties()
int
hashCode()
void
setProperties(WildcardAnalyzerProperties properties)
-
Methods inherited from class com.arangodb.entity.arangosearch.analyzer.SearchAnalyzer
getFeatures, getName, getType, setFeatures, setName, setType
-
-
-
-
Method Detail
-
getProperties
public WildcardAnalyzerProperties getProperties()
-
setProperties
public void setProperties(WildcardAnalyzerProperties properties)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSearchAnalyzer
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSearchAnalyzer
-
-