Hello,
I should like to use a specific directory to store the Lucene index files.
Can you indicate to me where I can find an example of code to make this ?
Thanks ,
Serge
When using hibernate search you can set the following properties:
<property name="hibernate.search.default.directory_provider" value="filesystem"/> <property name="hibernate.search.default.indexBase" value="/var/lucene/indexes"/>
More info here.
Cheers,