Interface LuceneBackend
-
- All Superinterfaces:
Backend
- All Known Implementing Classes:
LuceneBackendImpl
public interface LuceneBackend extends Backend
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<? extends org.apache.lucene.analysis.Analyzer>analyzer(String name)Optional<? extends org.apache.lucene.analysis.Analyzer>normalizer(String name)
-
-
-
Method Detail
-
analyzer
Optional<? extends org.apache.lucene.analysis.Analyzer> analyzer(String name)
- Parameters:
name- An analyzer name, e.g. a name returned byIndexValueFieldTypeDescriptor.analyzerName()orIndexValueFieldTypeDescriptor.searchAnalyzerName().- Returns:
- The corresponding analyzer, or
Optional.empty()if it doesn't exist.
-
normalizer
Optional<? extends org.apache.lucene.analysis.Analyzer> normalizer(String name)
- Parameters:
name- A normalizer name, e.g. a name returned byIndexValueFieldTypeDescriptor.normalizerName().- Returns:
- The corresponding normalizer, or
Optional.empty()if it doesn't exist.
-
-