Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate search using Lucene  RSS feed

madhusudhanan anna
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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="" value="jms" />
<property name="" value="jms/MyServiceQueueCF" />
<property name="" value="jms/HibernateSearchQ" />

<!-- DirectoryProvider configuration -->

<!-- FSSlaveDirectoryProvider -->
<property name="" value=""/>
<property name="" value="900" />
<property name="" value="/index/read"/>
<property name="" value="/indexshare" />

<!-- FSMasterDirectoryProvider -->
<property name="" value="" />
<property name="" value="900" />
<property name="" value="/index/read" />
<property name="" value="/index/indexshare" />
<property name="" value="5000" />
<property name="" value="500" />

could you please help me on this.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!