public static class SchemaRequest.Field extends AbstractSchemaRequest<SchemaResponse.FieldResponse>
SolrRequest.METHOD
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
Field(String fieldName)
Creates a new instance of the request.
|
Field(String fieldName,
SolrParams q) |
Modifier and Type | Method and Description |
---|---|
protected SchemaResponse.FieldResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
getParams
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
public Field(String fieldName)
fieldName
- the name of the field for which the definition is to be retrievedpublic Field(String fieldName, SolrParams q)
protected SchemaResponse.FieldResponse createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<SchemaResponse.FieldResponse>
client
- the SolrClient
the request will be sent toCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.