Hi all,
I am new to infinispan and would like to clear some doubts about Infinispan basics.
I am using embedded Infinispan 5.1 with Hibernate Search 4.2 for my JEE6 web application. I am using JBoss as 7.2.
I configured JPA persistence.xml file to point out default-hibernatesearch-infinispan.xml to cache (namedCache) lucene index data, metadata and locking. It is working fine in 2 node replication cluster. The Infinispan & Hibernate Search documentations guided me to configure and get it work. But I would like to understand how this in-built magic works. My doubts are,
1. Can I use another cache (JBoss cache/Ehcache) in addition to infinispan with Hibernate Search. Can I configure all caches at one file/place (e.g - default-hibernatesearch-infinispan.xml)?
2. Can I change the tag names cacheManagerName="HibernateSearch", clusterName="HibernateSearch-Infinispan-cluster" and will it work if I change these names? (I have read in Java Doc that can change cacheManager name - Ref: http://docs.jboss.org/infinispan/5.1/configdocs/ )
Please point out me if there is a documentation/solved threads already available which clears these doubts.
Thanks and Regards, Vass.
|