Yeah I have gone through the resource. The link talks about what to do in theory, not the implementation. I figured out we need to create indexes as
<indexing enabled="true" indexLocalOnly="true">
<property name="hibernate.search.default.directory_provider" value="infinispan"/>
But even with this the following is resulting in a index loss: when the owner of the data goes down the new owner will not have an index.(dist mode) Hence asked for a step by step implementation so that I know what am I doing wrong. So please suggest - already lost a lot of time on this.
Also my suggestion is to keep this abstract from the developer in the upcoming release. i.e let the indexing be handled by the framework itself. Because for dist mode if we have local indexes (ram) it would make no sense as the indexes are lost on a node failure.
Yes we're aware that this is currently pretty hard to do, I agree we should make it easier in future.
To resolve your question on the missing jars: we generally assume users are familiar with Maven dependencies; the needed dependencies are those defined in the Hibernate Search project, specifically:
If you don't use Maven, you can download them from the Hibernate Search distribution https://sourceforge.net/projects/hibernate/files/hibernate-search/4.1.1.Final/
On how to configure it: I'd highly recommend to reset the Hibernate Search documentation at http://docs.jboss.org/hibernate/search/4.1/reference/en-US/html_single/#infinispan-directories , in addition to Infinispan's own documentation.