public class SolrPing extends SolrRequest
SolrServer.
To use this class, the solrconfig.xml for the relevant core must include the
request handler for /admin/ping.SolrRequest.METHOD| Constructor and Description |
|---|
SolrPing()
Create a new SolrPing object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getMethod, getPath, getResponseParser, getStreamingResponseCallback, setMethod, setPath, setResponseParser, setStreamingResponseCallbackpublic Collection<ContentStream> getContentStreams()
getContentStreams in class SolrRequestpublic ModifiableSolrParams getParams()
getParams in class SolrRequestpublic SolrPingResponse process(SolrServer server) throws SolrServerException, IOException
process in class SolrRequestSolrServerExceptionIOExceptionpublic SolrPing removeAction()
SolrPing#setActionPing(). For Solr server version 4.0
and later.public SolrPing setActionDisable()
public SolrPing setActionEnable()
public SolrPing setActionPing()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.