public class AllLowercasingSearcher extends LowercasingSearcher
Add this searcher to your search chain before any searcher running case-dependent automata with only lowercased contents, query transformers assuming lowercased input etc. Refer to the Vespa documentation on search chains and search chain ordering.
Constructor and Description |
---|
AllLowercasingSearcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldLowercase(WordItem word,
IndexFacts.Session settings)
Override this to control whether a given term should be lowercased.
|
search
ensureFilled, fill, getLogger, process, toString
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
public boolean shouldLowercase(WordItem word, IndexFacts.Session settings)
LowercasingSearcher
shouldLowercase
in class LowercasingSearcher
word
- a WordItem or subclass thereof which is a candidate for lowercasingCopyright © 2018. All rights reserved.