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

check-example-lucene-match-version is looking in the wrong place - luceneMatchVersion incorrect in 5.1 sample configs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 5.1
    • 5.2, 6.0
    • None
    • None

    Description

      As noted by Scott Dawson on the mailing list, the luceneMatchVersion in the 5.1 sample configs all still lists "5.0.0".

      The root cause seems to be because the check-example-lucene-match-version task in solr/build.xml is looking in the wrong place – it's still scaning for instances of luceneMatchVersion in the example directory instead of the server/solr/configset

      TODO:

      • fix the luceneMatchVersion value in all sample configsets on 5x
      • update the check to look in the correct directory
      • update the check to fail to be smarter know that we have a more predictable directory structure
        • fail if no subdirs found
        • fail if any subdir doesn't contain conf/solrconfig.xml
        • fail if any conf/solrconfig.xml doesn't contain a luceneMatchVersion
        • fail if any luceneMatchVersion doesn't have the expected value

      Attachments

        1. SOLR-7487.patch
          5 kB
          Timothy Potter
        2. SOLR-7487.patch
          5 kB
          Chris M. Hostetter
        3. SOLR-7487.patch
          5 kB
          Timothy Potter
        4. SOLR-7487.patch
          4 kB
          Timothy Potter

        Issue Links

          Activity

            People

              thelabdude Timothy Potter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: