This topic has not yet been written. The content below is from the topic description.
Sharing the Index The most simple way to share an index is to use some form of shared storage for the indexes, like an FSDirectory on a shared disk; however this form is problematic as the FSDirectory relies on specific locking semantics which are often incompletely implemented on network filesystems, or not reliable enough; if you go for it make sure to search for it on the Lucene mailing lists for past issues and workarounds. Good luck, test well. There are many alternative Directory implementations you can find, one of the most suited approaches when working with Infinispan is of course to store the index in an Infinispan cache: have a look at the InfinispanDirectoryProvider, it provides a reliable and tested layer and can of course be used with persistent CacheLoaders to keep the index on a shared filesystem withouth the locking issues, a database, cloud storage, or any other CacheLoader implementation. For full documentation on clustering the Lucene engine, refer to the Hibernate Search documentation to properly configure it clustered.