hardy.ferentschik wrote:
Hi,
You could disable automatic indexing (hibernate.search.indexing_strategy = manual) and re-index manually based on a trigger event. Of course you need some sort of field in the database in this case which you can query to determine the changed entities (eg a last update timestamp). Is this what you are after?
Thanks for your answer.
This option sounds quite interesting.
hardy.ferentschik wrote:
Alternatively you could try to write your own FullTextIndexEventListener. It all depends really what you want to achieve. Is the automatic indexing really a bottleneck? How up to date does your index have to be?
--Hardy
The index can be few second late. The automatic indexing in my application is like indexing a text paragraph after each new character typed.
I thought about my own
FullTextIndexEventListener first, but your first suggestion sounds realy interesting.