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

relative coreRootDirectory evaluated against CWD, not Solr Home

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.10
    • Fix Version/s: 5.0
    • Component/s: None
    • Labels:
      None

      Description

      as reported by Andreas Hubold on solr-user...

      I'd like to just set it to a subdirectory of solr home (a "cores" directory to
      avoid confusion with configsets and other directories). I tried
      
      <str name="coreRootDirectory">cores</str>
      
      but that's interpreted relative to the current working directory. Other paths 
      such as sharedLib are interpreted relative to Solr Home and I had expected 
      this here too.
      

      This is definitely non-intuitive and we should try to fix it in 5.0 since it will represent a back-compat change for anyone already using a relative path.

        Attachments

        1. SOLR-6718.patch
          10 kB
          Alan Woodward
        2. SOLR-6718.patch
          7 kB
          Alan Woodward
        3. SOLR-6718.patch
          4 kB
          Alan Woodward

          Activity

            People

            • Assignee:
              romseygeek Alan Woodward
              Reporter:
              hossman Hoss Man
            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: