3 Replies Latest reply on Oct 7, 2011 11:59 AM by sannegrinovero

    Infinispan query module - index rebuild

    jbaris

      Hello everyone

      I am using the Hibernate Search based query module of Infinispan (https://docs.jboss.org/author/display/ISPN/Querying+Infinispan) to seach for entries. I have a question about this:

      Is there a way to trigger an index rebuild? This is neccesary when, for example, the index mapping changes, so it is neccesary to take a full rebuild for update the index entries with this changes.

       

      Thanks you

        • 1. Re: Infinispan query module - index rebuild
          sannegrinovero

          Hi,

          no there is no way to have it rebuild the index, but you're right that's an important thing we should make urgently.

          Could you please create a feature request on JIRA ?

           

          We could introduce an equivalent of Hibernate Search's "MassIndexer" API, but the behaviour should be different depending on if you're sharing the index across cluster nodes, or if each node is having it's own index. Which configuration are you using?

           

          Depending on the case, you could also create one quickly using the distributed executors API, or you could help me designing the API.

          • 2. Re: Infinispan query module - index rebuild
            jbaris

            Thanks for your reply, Sanne

            I have created the JIRA https://issues.jboss.org/browse/ISPN-1440

            It would be nice to have an equivalent of Hibernate Search's "MassIndexer" API. Currently, I'm testing Infinispan, so I'm using the replicated configuration. But, it is posible that this will change to the distributed mode, depending on the amount of generated data.

             

            Best regards

            • 3. Re: Infinispan query module - index rebuild
              sannegrinovero

              perfect, thanks you we'll work on it.

              If you want to try implementing it, that's of course possible too.