public class QueryRequest extends SolrRequest<QueryResponse>
SolrRequest.METHOD
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
QueryRequest() |
QueryRequest(SolrParams q) |
QueryRequest(SolrParams q,
SolrRequest.METHOD method) |
Modifier and Type | Method and Description |
---|---|
protected QueryResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
SolrParams |
getParams() |
String |
getPath()
Use the params 'QT' parameter if it exists
|
getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getMethod, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUseV2
public QueryRequest()
public QueryRequest(SolrParams q)
public QueryRequest(SolrParams q, SolrRequest.METHOD method)
public String getPath()
getPath
in class SolrRequest<QueryResponse>
protected QueryResponse createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<QueryResponse>
client
- the SolrClient
the request will be sent topublic SolrParams getParams()
getParams
in class SolrRequest<QueryResponse>
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.