Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3292

/browse example fails to load on 3x: "no field name specified in query and no default specified via 'df' param"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-BETA, 6.0
    • Component/s: None
    • Labels:
      None

      Description

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

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ehatcher Erik Hatcher
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: