org.apache.solr.client.solrj.request
Class SolrPing
java.lang.Object
org.apache.solr.client.solrj.SolrRequest
org.apache.solr.client.solrj.request.SolrPing
- All Implemented Interfaces:
- Serializable
public class SolrPing
- extends SolrRequest
Verify that there is a working Solr core at the URL of a SolrServer
.
To use this class, the solrconfig.xml for the relevant core must include the
request handler for /admin/ping
.
- Since:
- solr 1.3
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrPing
public SolrPing()
getContentStreams
public Collection<ContentStream> getContentStreams()
- Specified by:
getContentStreams
in class SolrRequest
getParams
public ModifiableSolrParams getParams()
- Specified by:
getParams
in class SolrRequest
process
public SolrPingResponse process(SolrServer server)
throws SolrServerException,
IOException
- Specified by:
process
in class SolrRequest
- Throws:
SolrServerException
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.