|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.solr.client.solrj.SolrRequest org.apache.solr.client.solrj.request.SolrPing
public class SolrPing
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
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest |
---|
SolrRequest.METHOD |
Constructor Summary | |
---|---|
SolrPing()
Create a new SolrPing object. |
Method Summary | |
---|---|
Collection<ContentStream> |
getContentStreams()
|
ModifiableSolrParams |
getParams()
|
SolrPingResponse |
process(SolrServer server)
|
SolrPing |
removeAction()
Remove the action parameter from this request. |
SolrPing |
setActionDisable()
Set the action parameter on this request to enable. |
SolrPing |
setActionEnable()
Set the action parameter on this request to enable. |
SolrPing |
setActionPing()
Set the action parameter on this request to ping. |
Methods inherited from class org.apache.solr.client.solrj.SolrRequest |
---|
getMethod, getPath, getResponseParser, getStreamingResponseCallback, setMethod, setPath, setResponseParser, setStreamingResponseCallback |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SolrPing()
Method Detail |
---|
public Collection<ContentStream> getContentStreams()
getContentStreams
in class SolrRequest
public ModifiableSolrParams getParams()
getParams
in class SolrRequest
public SolrPingResponse process(SolrServer server) throws SolrServerException, IOException
process
in class SolrRequest
SolrServerException
IOException
public SolrPing removeAction()
SolrPing#setActionPing()
. For Solr server version 4.0
and later.
public SolrPing setActionDisable()
public SolrPing setActionEnable()
public SolrPing setActionPing()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |