1 Reply Latest reply on Nov 3, 2014 5:42 PM by Sanne Grinovero

    Index an individual entity when automatic indexing is turned off

    James Adams Newbie

      Hi Infinispan Community,

       

      I have been struggling with an issue for the past few days and would greatly appreciate any help.

       

      I have an application which loads a lot of data on start-up, and I disabled automatic indexing so that we can run a bulk indexer instead which improved performance drastically. We need to update the index for specific entities which we insert/update/delete during normal application usage but cannot find any API for doing so - does it exist?

       

      The closest I have been able to find is the manual indexing docs for Hibernate Search (Chapter 6. Manual indexing) but we do not load our data via Hibernate so so do not have a session available. I have also been trying to find the code where Infinispan triggers the indexing of a Hibernate Search annotated object during a normal cache.put() operation - can anyone point me in the right direction?

       

      I look forward to any response, and please let me know if I can provide any more information.

       

      Kind regards,

      James