1 Reply Latest reply on Apr 14, 2014 1:02 PM by ajcmartins

    Lucene Index Files Directory

    smoers

      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

        • 1. Re: Lucene Index Files Directory
          ajcmartins

          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,