public interface IndexManagerType
Instances of implementations of this interface could be used as keys in a Map, so make sure to implement appropriate equals and hashCode functions.
The purpose is that some components will have to adapt their output depending on the target technology being used, so they might need to know the type. We refrain from using Enums as that would not be extensible, and avoid using the class type of an IndexManager to allow creating multiple custom implementations for the same type of technology.
Modifier and Type | Method and Description |
---|---|
AnalyzerStrategy |
createAnalyzerStrategy(ServiceManager serviceManager,
SearchConfiguration cfg) |
MissingValueStrategy |
createMissingValueStrategy(ServiceManager serviceManager,
SearchConfiguration cfg) |
AnalyzerStrategy createAnalyzerStrategy(ServiceManager serviceManager, SearchConfiguration cfg)
serviceManager
- the service managercfg
- the Hibernate Search configuration, providing in particular access to configuration properties.MissingValueStrategy createMissingValueStrategy(ServiceManager serviceManager, SearchConfiguration cfg)
serviceManager
- the service managercfg
- the Hibernate Search configuration, providing in particular access to configuration properties.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved