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
|
boolean |
getIncludeIndexFieldFlags() |
int |
getNumTerms() |
SolrParams |
getParams() |
boolean |
isShowSchema() |
void |
setFields(List<String> f) |
void |
setIncludeIndexFieldFlags(boolean shouldInclude)
Choose whether /luke should return the index-flags for each field
Fetching and returning the index-flags for each field in your index has non-zero cost, and can slow down requests to
/luke.
|
void |
setNumTerms(int count)
the number of terms to return for a given field.
|
void |
setShowSchema(boolean showSchema) |
getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, 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)
public void setIncludeIndexFieldFlags(boolean shouldInclude)
public boolean getIncludeIndexFieldFlags()
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-2019 Apache Software Foundation. All Rights Reserved.