Erick Erickson created SOLR-3646: ------------------------------------ Summary: /browse request handler fails in example if you don't specify a field in the query with "no default specified via 'df' param" Key: SOLR-3646 URL: https://issues.apache.org/jira/browse/SOLR-3646 Project: Solr Issue Type: Bug Components: SearchComponents - other Affects Versions: 4.0, 5.0 Reporter: Erick Erickson Assignee: Erick Erickson Priority: Minor Fix For: 4.0, 5.0
If you try using the stock /browse request handler and don't specify a field in the search, you get the following stack (partial): SEVERE: org.apache.solr.common.SolrException: no field name specified in query and no default specified via 'df' param at org.apache.solr.search.SolrQueryParser.checkNullField(SolrQueryParser.java:136) at org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:154) at org.apache.lucene.queryparser.classic.QueryParserBase.handleBareTokenQuery(QueryParserBase.java:1063) at org.apache.lucene.queryparser.classic.QueryParser.Term(QueryParser.java:350) . . . -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org