Interface AnalyzerDescriptorProvider
-
- All Known Subinterfaces:
MappingAnalyzerDescriptor
- All Known Implementing Classes:
AnalyzerDescriptor,ExactAnalyzerDescriptor,ExactFilenameAnalyzerDescriptor,KeywordAnalyzerDescriptor,LanguageAnalyzerDescriptor,StandardAnalyzerDescriptor,UnstemmedAnalyzerDescriptor,WhitespaceAnalyzerDescriptor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@ExperimentalApi @FunctionalInterface public interface AnalyzerDescriptorProvider
Provides aMappingAnalyzerDescriptorthat should be used to analyze text for a givenLanguageDescriptorif it is defined.Designed for use at index-time via
TextFieldDescriptor, query-time viaTextFieldQueryand for configuring indexes when creating custom indexes throughCustomSearchIndexRegistry- Since:
- 7.17
-
-
Field Summary
Fields Modifier and Type Field Description static AnalyzerDescriptorProviderEMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<MappingAnalyzerDescriptor>getAnalyzer(LanguageDescriptor language)
-
-
-
Field Detail
-
EMPTY
static final AnalyzerDescriptorProvider EMPTY
-
-
Method Detail
-
getAnalyzer
Optional<MappingAnalyzerDescriptor> getAnalyzer(LanguageDescriptor language)
-
-