You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/04/29 18:35:07 UTC

[jira] [Created] (SOLR-7487) check-example-lucene-match-version is looking in the wrong place - luceneMatchVersion incorrect in 5.1 sample configs

Hoss Man created SOLR-7487:
------------------------------

             Summary: check-example-lucene-match-version is looking in the wrong place - luceneMatchVersion incorrect in 5.1 sample configs
                 Key: SOLR-7487
                 URL: https://issues.apache.org/jira/browse/SOLR-7487
             Project: Solr
          Issue Type: Bug
    Affects Versions: 5.1
            Reporter: Hoss Man
            Priority: Blocker
             Fix For: 5.2


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org