PingRequest fails if there is no defaultSearchField in the schema.xml
---------------------------------------------------------------------

                 Key: SOLR-2910
                 URL: https://issues.apache.org/jira/browse/SOLR-2910
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.0
            Reporter: Yury Kats


PingRequest fails if there is no defaultSearchField in the schema.xml

CommonsHttpSolrServer#ping produces:

org.apache.solr.common.SolrException: Ping query caused exception: no field 
name specified in query and no defaultSearchField defined in schema.xml
at 
org.apache.solr.handler.PingRequestHandler.handleRequestBody(PingRequestHandler.java:77)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1407)
at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:353)
...
request: http://127.0.0.1:8983/solr/a1/admin/ping?wt=javabin&version=2'

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