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

New discovery mode ignores instanceDir property

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 4.4
    • Fix Version/s: None
    • Component/s: multicore
    • Labels:
      None
    • Environment:

      Linux

      Description

      I have a common instance directory to share schema.xml and solrconfig.xml between multiple cores. According to Core Discovery (4.4 and beyond) a property instanceDir is available to set the instance directory for the configured core.
      On start up of SOLR instanceDir is always set to the parent directory of core.properties.
      Setting a complete path to schema.xml and solrconfig.xml via schema and config properties won't help as every relative path is resolved against the wrong (unconfigurable) instanceDir and not against schema.xml.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thosch Thomas Scheffler
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: