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
|