lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-7120) terrible error reporting code in ExtendedDismaxConfiguration
Date Tue, 17 Feb 2015 18:53:12 GMT
Hoss Man created SOLR-7120:
------------------------------

             Summary: terrible error reporting code in ExtendedDismaxConfiguration
                 Key: SOLR-7120
                 URL: https://issues.apache.org/jira/browse/SOLR-7120
             Project: Solr
          Issue Type: Bug
            Reporter: Hoss Man


This abomination needs to be changed...

{noformat}
      try {
        queryFields = DisMaxQParser.parseQueryFields(req.getSchema(), solrParams);  // req.getSearcher()
here causes se$
      } catch (SyntaxError e) {
        throw new RuntimeException();
      }
{noformat}

If you don't have a qf or df param in your request (ex: bin/solr -e cloud using "basic_configs")
this causes a completely unhelpful RuntimeException to be thrown.



--
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


Mime
View raw message