public class DirectJsonQueryRequest extends QueryRequest
SolrParams
used by this request. For a more flexible, guided approach to constructing JSON DSL requests, see
JsonQueryRequest
.SolrRequest.METHOD
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
DirectJsonQueryRequest(String jsonString) |
DirectJsonQueryRequest(String jsonString,
SolrParams params) |
Modifier and Type | Method and Description |
---|---|
RequestWriter.ContentWriter |
getContentWriter(String expectedType)
If a request object wants to do a push write, implement this method.
|
createResponse, getParams, getPath
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
public DirectJsonQueryRequest(String jsonString)
public DirectJsonQueryRequest(String jsonString, SolrParams params)
public RequestWriter.ContentWriter getContentWriter(String expectedType)
SolrRequest
getContentWriter
in class SolrRequest<QueryResponse>
expectedType
- This is the type that the RequestWriter would like to get. But, it is OK to send any formatCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.