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

New discovery mode ignores instanceDir property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 4.4
    • None
    • multicore
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: