public class LukeRequest extends SolrRequest<LukeResponse>
SolrRequest.METHOD
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
LukeRequest() |
LukeRequest(String path) |
Modifier and Type | Method and Description |
---|---|
void |
addField(String f) |
protected LukeResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
int |
getNumTerms() |
SolrParams |
getParams() |
boolean |
isShowSchema() |
void |
setFields(List<String> f) |
void |
setNumTerms(int count)
the number of terms to return for a given field.
|
void |
setShowSchema(boolean showSchema) |
getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUseV2
public LukeRequest()
public LukeRequest(String path)
public void addField(String f)
public boolean isShowSchema()
public void setShowSchema(boolean showSchema)
public int getNumTerms()
public void setNumTerms(int count)
protected LukeResponse createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<LukeResponse>
client
- the SolrClient
the request will be sent topublic SolrParams getParams()
getParams
in class SolrRequest<LukeResponse>
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.