public class LukeRequest extends SolrRequest<LukeResponse>
SolrRequest.METHODSUPPORTED_METHODS, useBinaryV2, usev2| 构造器和说明 |
|---|
LukeRequest() |
LukeRequest(String path) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
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, setUseV2public 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)
SolrRequestcreateResponse 在类中 SolrRequest<LukeResponse>client - the SolrClient the request will be sent topublic SolrParams getParams()
getParams 在类中 SolrRequest<LukeResponse>Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.