Anyone ?
I'm using Hibernate+Spring and the following properties
Code:
<!-- Lucene -->
<prop key="hibernate.lucene.default.directory_provider">org.hibernate.lucene.store.FSDirectoryProvider</prop>
<prop key="hibernate.lucene.default.indexDir">${lucene.indexDir}</prop>
The value ${lucene.indexDir} is /temp/indexes but the index is created under eclipse folder( I run Tomcat under Eclipse) . I put some break pointers and the properties variable under the provider contains the value
Code:
{indexDir=/temp/indexes, directory_provider=org.hibernate.lucene.store.FSDirectoryProvider}
But the indexDir member is "." and indexBase is "." too!
This looks like a bug to me. I will updagrade to the lastest version to see if will fix it...