[ 
https://issues.apache.org/jira/browse/SOLR-3646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson updated SOLR-3646:
---------------------------------

    Attachment: SOLR-3646.patch

I'll commit this later today if nobody objects
                
> /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
>
>         Attachments: SOLR-3646.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to