I have a legacy project with multiple persistence units. Some XA some regular. Some reference the same orm.xml, others a different orm.xml.
Using Hibernate Search 4.5.3.
I’m seeing a lot these during deployment:
Starting sync consumer thread for index …
For PUs that are NOT related to that DB or PU. In fact, I’ve set this in the PUs not using search:
<property name=
"hibernate.search.enabled"
value=
"false"
/>
I hope they can be ignored, or are they a sign of something wrong? Like more than one writer thread/class?
Also, the Lucene index folders are -initially- getting created in the wrong place, even though I have this set:
<property name=
"hibernate.search.jmx_enabled"
value=
"true"
/>
<property name=
"hibernate.search.default.directory_provider"
value=
"filesystem"
/>
<property name=
"hibernate.search.default.indexBase"
value=
"/indexes/class"
/>
as well as:
-Dhibernate.search.backend.directory.root=/indexes/class
Am I missing something?