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() |
Modifier and Type | Method and Description |
---|---|
Collection<ContentStream> |
getContentStreams() |
ModifiableSolrParams |
getParams() |
SolrPingResponse |
process(SolrServer server) |
getMethod, getPath, getResponseParser, getStreamingResponseCallback, setMethod, setPath, setResponseParser, setStreamingResponseCallback
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
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.