Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Infinispan and other caches with Hibernate Search
PostPosted: Mon Nov 25, 2013 5:29 am 
Newbie

Joined: Mon Nov 25, 2013 4:59 am
Posts: 1
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.