[ 
https://issues.apache.org/jira/browse/SOLR-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419452#comment-13419452
 ] 

Jan Høydahl commented on SOLR-3292:
-----------------------------------

Why was this not caught by any tests? Should we add one?
                
> /browse example fails to load on 3x: "no field name specified in query and no 
> default specified via 'df' param"
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3292
>                 URL: https://issues.apache.org/jira/browse/SOLR-3292
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>            Priority: Blocker
>             Fix For: 3.6, 4.0, 5.0
>
>
> 1) java -jar start.jar using solr example on 3x branch circa r1306629
> 2) load http://localhost:8983/solr/browse
> 3) browser error: 400 "no field name specified in query and no default 
> specified via 'df' param"
> 4) error in logs...
> {noformat}
> INFO: [] webapp=/solr path=/browse params={} hits=0 status=400 QTime=3 
> Mar 28, 2012 4:05:59 PM org.apache.solr.common.SolrException log
> 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:158)
>       at 
> org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:174)
>       at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1429)
>       at 
> org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1317)
>       at 
> org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1245)
>       at 
> org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1234)
>       at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206)
>       at 
> org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:79)
>       at org.apache.solr.search.QParser.getQuery(QParser.java:143)
>       at 
> org.apache.solr.request.SimpleFacets.getFacetQueryCounts(SimpleFacets.java:233)
>       at 
> org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:194)
>       at 
> org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:72)
>       at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:186)
>       at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>       at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376)
> {noformat}

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

Reply via email to