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

Fix all example/test configs that still use <dataDir>${solr.data.dir:./solr/data}</dataDir>

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      In SOLR-1577, Yonik implemented functionality so that an "empty" <dataDir/> directive would be treated the same as no dataDir declaration at all (ie: using "data" in the instanceDir) so that people could have a sensible default but still use a system property to override using:

      <dataDir>${solr.data.dir:}</dataDir>

      however we still have this bad meme in a lot of test configs:

      <dataDir>${solr.data.dir:./solr/data}</dataDir>

      we should clean that up (if for no other reason then that it sets a really bad example and doesn't help with testing anything)

        Attachments

          Activity

            People

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              hossman Chris M. Hostetter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: