[
https://issues.apache.org/jira/browse/SOLR-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yury Kats resolved SOLR-2910.
-----------------------------
Resolution: Not A Problem
Indeed, thanks for the pointer!
I was able to make ping work using:
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
<lst name="defaults">
<str name="qt">search</str>
<str name="q">*:*</str>
<str name="echoParams">none</str>
<str name="rows">0</str>
</lst>
</requestHandler>
> 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: [email protected]
For additional commands, e-mail: [email protected]