Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1970

need to customize location of dataimport.properties

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 4.1, 6.0
    • Labels:
      None

      Description

      By default dataimport.properties is written to

      {solr.home}

      /conf/. However when using multiple solr cores, it is currently useful to use the same conf directory for all of the cores and use solr.xml to specify a different schema.xml. I can then specify a different data-config.xml for each core to define how the data gets from the database to each core's shema.

      However, all the solr cores will fight over writing to the dataimport.properties file. There should be an option in solrconfig.xml to specify the location or name of this file so that a different one can be used for each core.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jdyer James Dyer
                Reporter:
                csbook1 Chris Book
              • Votes:
                10 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: