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

relative coreRootDirectory evaluated against CWD, not Solr Home

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.10
    • 5.0
    • None
    • 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
          4 kB
          Alan Woodward
        2. SOLR-6718.patch
          7 kB
          Alan Woodward
        3. SOLR-6718.patch
          10 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            hossman Chris M. Hostetter
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: