Class NonAlphanumericWordSplitAnalyzer
java.lang.Object
de.cxp.ocs.elasticsearch.query.analyzer.NonAlphanumericWordSplitAnalyzer
- All Implemented Interfaces:
ConfigurableExtension
,UserQueryAnalyzer
Splits the string by every character that is not a letter, number, dash or underscore (which are considered as
word-bind characters)
- Author:
- rb@commerce-experts.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List
<WeightedTerm> toQueryStringWordList
(String[] words) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.cxp.ocs.spi.search.ConfigurableExtension
initialize
-
Field Details
-
BIND_CHARS
-
-
Constructor Details
-
NonAlphanumericWordSplitAnalyzer
public NonAlphanumericWordSplitAnalyzer()
-
-
Method Details
-
analyze
- Specified by:
analyze
in interfaceUserQueryAnalyzer
-
toQueryStringWordList
-