lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-3646) /browse request handler fails in example if you don't specify a field in the query with "no default specified via 'df' param"
Date Fri, 20 Jul 2012 12:30:33 GMT

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

Erick Erickson resolved SOLR-3646.
----------------------------------

    Resolution: Fixed

4x: 1363747
trunk: 1363751
                
> /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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message