|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchFactoryIntegrator
This contract is considered experimental.
This contract gives access to lower level APIs of Hibernate Search for
frameworks integrating with it. The piece of code creating the SearchFactory should
use this contract. It should however pass the higher level SearchFactory
contract to
its clients.
It also allows modification of some of the search factory internals:
- today allow addition of new indexed classes.
Method Summary | |
---|---|
void |
addClasses(Class<?>... classes)
Add the following classes to the SearchFactory. |
void |
close()
|
HSQuery |
createHSQuery()
Return an Hibernate Search query object. |
TimeoutExceptionFactory |
getDefaultTimeoutExceptionFactory()
|
ErrorHandler |
getErrorHandler()
Used to catch exceptions in all synchronous operations; but default they are logged, the user can configure alternative error management means. |
EntityIndexBinder |
getIndexBindingForEntity(Class<?> entityType)
|
Worker |
getWorker()
|
boolean |
isStopped()
|
Methods inherited from interface org.hibernate.search.SearchFactory |
---|
buildQueryBuilder, getAnalyzer, getAnalyzer, getIndexReaderAccessor, getStatistics, optimize, optimize |
Method Detail |
---|
EntityIndexBinder getIndexBindingForEntity(Class<?> entityType)
void addClasses(Class<?>... classes)
Worker getWorker()
void close()
HSQuery createHSQuery()
boolean isStopped()
ErrorHandler getErrorHandler()
TimeoutExceptionFactory getDefaultTimeoutExceptionFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |