|
What does a user wanting to integrate his database or CRUD service need?
Infrastructure:
1. import the new module 2. Implement an EntitySourceContextBuilder (provides access to a database connection or the crud service) 3. Implement an IdExtractor (entity instance -> id) 4. Implement ObjectInitializer (to load objects by ids)
Then int he core of the application:
1. add Hibernate Search annotations to the entities involved 1. on each C_UD events, add a WorkLoad.index / purge call 2. write full-text queries and run them
|