public class LuceneAnalyzerFactory
extends Object
Provides a Lucene SearchMapping for any objects in openmrs-core.
Objects such as PersonName can use the analyzers provided by this mapping to make their fields searchable.
This class defines some default analyzers:
phraseAnalyzer, which allows searching for an entire phrase, including whitespace
startAnalyzer, which allows searching for tokens that match at the beginning
exactAnalyzer, which allows searching for tokens that are identical
anywhereAnalyzer, which allows searching for text within tokens
- Since:
- 2.4.0