Disable Lucene With Hibernate Search
One issue with Hibernate search is that it is activated the moment the hibernate search JAR file is detected in the classpath. However, sometimes it's on the classpath for other reasons e.g. a hibernate data object that has hibernate search annotations is also on classpath.To prevent hibernate search from being switched on, add the following line to the hibernate.cfg.xml file:<property name="hibernate.search.autoregister_listeners">false</property>Reference: http://docs.jboss.org/hibernate/search/3.2/reference/en/html_single/#search-configuration-event
No comments:
Post a Comment