Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15311

Solr index is by default stored in the wrong directory

    XMLWordPrintable

Details

    Description

      Hi

      In INSTALL.txt:

      Index options:
        Solr will store the search index in extension/ezfind/java/solr/data/index
        This may be changed, by altering the configuration file
        extension/ezfind/java/solr/conf/solrconfig.xml . Change the config->dataDir
        setting to alter the index path.
      

      However, the index directory is by default hardcoded to be /srv/solr.
      A patch which fixes this:

      --- solrconfig.xml.org  2009-08-12 10:39:57.000000000 +0200
      +++ solrconfig.xml      2009-08-12 10:40:13.000000000 +0200
      @@ -29,7 +29,7 @@
         <!-- Used to specify an alternate directory to hold all index data
              other than the default ./data under the Solr home.
              If replication is in use, this should match the replication configuration. -->
      -  <dataDir>${solr.data.dir:/srv/solr}</dataDir>
      +  <!--dataDir>${solr.data.dir:/srv/solr}</dataDir-->
      
      
         <indexDefaults>
      

      Attachments

        Activity

          People

            esterheylen esterheylen
            vl vl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: