-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate search using Index
PostPosted: Mon Nov 08, 2010 2:00 pm 
Newbie

Joined: Mon Nov 08, 2010 1:48 pm
Posts: 1
Hi,

I am implementing the hibernate search using the indexing. I want to implement FSMasterDirectoryProvider except for one entitiy called 'EmpDetails'. I want to implement FSSlaveDirectoryProvider for this 'EmpDetails' entity.

If i configure only FSMasterDirectoryProvider in my persistence.xml, it is working fine for all other entities. If i implement only FSSlaveDirectoryProvider , it is working fine for 'EmpDetails' entity. If i have both configuration in my persistence.xml, it is not working fine.


here is my config details:

<!-- JMS backend -->
<property name="hibernate.search.worker.backend" value="jms" />
<property name="hibernate.search.worker.jms.connection_factory" value="jms/MyServiceQueueCF" />
<property name="hibernate.search.worker.jms.queue" value="jms/HibernateSearchQ" />


<!-- DirectoryProvider configuration -->

<!-- FSSlaveDirectoryProvider -->
<property name="hibernate.search.com.emp.EmployeeDetails.directory_provider" value="org.hibernate.search.store.FSSlaveDirectoryProvider"/>
<property name="hibernate.search.com.emp.EmployeeDetails.refresh" value="900" />
<property name="hibernate.search.com.emp.EmployeeDetails.indexBase" value="/index/read"/>
<property name="hibernate.search.com.emp.EmployeeDetails.sourceBase" value="/indexshare" />


<!-- FSMasterDirectoryProvider -->
<property name="hibernate.search.default.directory_provider" value="org.hibernate.search.store.FSMasterDirectoryProvider" />
<property name="hibernate.search.default.refresh" value="900" />
<property name="hibernate.search.default.indexBase" value="/index/read" />
<property name="hibernate.search.default.sourceBase" value="/indexshare" />
<property name="hibernate.search.default.optimizer.operation_limit.max" value="5000" />
<property name="hibernate.search.default.optimizer.transaction_limit.max" value="500" />

could you please help me on this.


Thanks
Anna


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.