Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MODE-1510 Corrected configuration of Infinispan for index storage
ModeShape internally generates a Hibernate Search engine configuration based upon ModeShape's configuration. Hibernate Search can use the Infinispan Lucene Directory to store Lucene indexes in Infinispan, but ModeShape incorrectly passed down the information about where the Infinispan configuration was, preventing using the same Infinispan configuration for both content storage and index storage. This change corrects this problem, and allows defaulting to the same file-based Infinispan configuration for index storage that's used for content storage. This fix should also work in AS7, since the JNDI name of the cache container is passed through. The build completes successfully with these changes.
- Loading branch information