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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to