public class VespaLowercasingSearcher extends LowercasingSearcher
Modifier and Type | Field and Description |
---|---|
static String |
LOWERCASING |
Constructor and Description |
---|
VespaLowercasingSearcher(LowercasingConfig cfg) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldLowercase(WordItem word,
IndexFacts.Session indexFacts)
Override this to control whether a given term should be lowercased.
|
search
ensureFilled, fill, getLogger, process, toString
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
public static final String LOWERCASING
public VespaLowercasingSearcher(LowercasingConfig cfg)
public boolean shouldLowercase(WordItem word, IndexFacts.Session indexFacts)
LowercasingSearcher
shouldLowercase
in class LowercasingSearcher
word
- a WordItem or subclass thereof which is a candidate for lowercasingCopyright © 2017. All rights reserved.