Class LuceneAnalyzerRegistryImpl
java.lang.Object
com.apple.foundationdb.record.lucene.LuceneAnalyzerRegistryImpl
- All Implemented Interfaces:
LuceneAnalyzerRegistry
Default implementation of the
LuceneAnalyzerRegistry
. It uses the class
loader to determine which LuceneAnalyzerFactory
implementation exist,
and it populates the registry with those analyzers. An instance of this registry
is used by the LuceneIndexMaintainer
in order to choose the analyzer for a block of text.-
Method Summary
Modifier and TypeMethodDescriptiongetLuceneAnalyzerCombinationProvider
(Index index, LuceneAnalyzerType type, Map<String, LuceneIndexExpressions.DocumentFieldDerivation> auxiliaryFieldInfo) static LuceneAnalyzerRegistry
instance()
-
Method Details
-
instance
-
getLuceneAnalyzerCombinationProvider
@Nonnull public LuceneAnalyzerCombinationProvider getLuceneAnalyzerCombinationProvider(@Nonnull Index index, @Nonnull LuceneAnalyzerType type, @Nonnull Map<String, LuceneIndexExpressions.DocumentFieldDerivation> auxiliaryFieldInfo) - Specified by:
getLuceneAnalyzerCombinationProvider
in interfaceLuceneAnalyzerRegistry
-