Class LuceneBackendFactory
java.lang.Object
org.hibernate.search.backend.lucene.impl.LuceneBackendFactory
- All Implemented Interfaces:
BackendFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(EventContext eventContext, BackendBuildContext buildContext, ConfigurationPropertySource propertySource)
-
Constructor Details
-
LuceneBackendFactory
public LuceneBackendFactory()
-
-
Method Details
-
create
public BackendImplementor create(EventContext eventContext, BackendBuildContext buildContext, ConfigurationPropertySource propertySource) - Specified by:
createin interfaceBackendFactory- Parameters:
eventContext- AnEventContextrepresenting the backend.buildContext- The build context.propertySource- A configuration property source, appropriately masked so that the backend doesn't need to care about Hibernate Search prefixes (hibernate.search.*, etc.). All the properties can be accessed at the root. CAUTION: the property keys listed inBackendSettings, in particular "type" and "indexes" are reserved for use by the engine.- Returns:
- A backend.
-