Package | Description |
---|---|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.client.solrj.io.stream |
Stream implementations for the Streaming Aggregation API
|
org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
org.apache.solr.client.solrj.request.schema |
Convenience classes for making Schema API requests.
|
org.apache.solr.client.solrj.response |
Convenience classes for dealing with various types of Solr responses.
|
org.apache.solr.client.solrj.response.schema |
Convenience classes for dealing with Schema API responses.
|
org.apache.solr.common |
Common classes reused on both clients & server for dealing with
documents to be indexed and result documents . |
org.apache.solr.common.params |
Parameter constants and enumerations.
|
org.apache.solr.common.util |
Common utility classes reused on both clients & server.
|
Modifier and Type | Method and Description |
---|---|
abstract NamedList<Object> |
SolrResponse.getResponse() |
abstract NamedList<Object> |
ResponseParser.processResponse(InputStream body,
String encoding) |
abstract NamedList<Object> |
ResponseParser.processResponse(Reader reader) |
NamedList<Object> |
SolrClient.request(SolrRequest request)
Execute a request against a Solr server
|
abstract NamedList<Object> |
SolrClient.request(SolrRequest request,
String collection)
Execute a request against a Solr server for a given collection
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SolrResponse.setResponse(NamedList<Object> rsp) |
Modifier and Type | Class and Description |
---|---|
static class |
CloudSolrClient.RouteResponse |
Modifier and Type | Field and Description |
---|---|
protected NamedList<Object> |
LBHttpSolrClient.Rsp.rsp |
Modifier and Type | Field and Description |
---|---|
Future<NamedList<Object>> |
HttpSolrClient.HttpUriRequestResponse.future |
Modifier and Type | Method and Description |
---|---|
protected NamedList<Object> |
HttpSolrClient.executeMethod(org.apache.http.client.methods.HttpRequestBase method,
ResponseParser processor,
boolean isV2Api) |
NamedList |
HttpSolrClient.RemoteExecutionException.getMetaData() |
NamedList<Object> |
LBHttpSolrClient.Rsp.getResponse()
The response from the server
|
NamedList |
CloudSolrClient.RouteResponse.getRouteResponses() |
NamedList<Throwable> |
CloudSolrClient.RouteException.getThrowables() |
NamedList<Object> |
NoOpResponseParser.processResponse(InputStream body,
String encoding) |
NamedList<Object> |
StreamingBinaryResponseParser.processResponse(InputStream body,
String encoding) |
NamedList<Object> |
BinaryResponseParser.processResponse(InputStream body,
String encoding) |
NamedList<Object> |
XMLResponseParser.processResponse(InputStream in,
String encoding) |
NamedList<Object> |
InputStreamResponseParser.processResponse(InputStream body,
String encoding) |
NamedList<Object> |
NoOpResponseParser.processResponse(Reader reader) |
NamedList<Object> |
BinaryResponseParser.processResponse(Reader reader) |
NamedList<Object> |
XMLResponseParser.processResponse(Reader in) |
NamedList<Object> |
InputStreamResponseParser.processResponse(Reader reader) |
protected NamedList<Object> |
XMLResponseParser.readNamedList(XMLStreamReader parser) |
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
ResponseParser processor) |
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
ResponseParser processor,
String collection) |
NamedList<Object> |
HttpSolrClient.request(SolrRequest request,
String collection)
Process the request.
|
NamedList<Object> |
CloudSolrClient.request(SolrRequest request,
String collection) |
NamedList<Object> |
ConcurrentUpdateSolrClient.request(SolrRequest request,
String collection) |
NamedList<Object> |
LBHttpSolrClient.request(SolrRequest request,
String collection)
Tries to query a live server.
|
NamedList<Object> |
LBHttpSolrClient.request(SolrRequest request,
String collection,
Integer numServersToTry) |
protected NamedList<Object> |
CloudSolrClient.requestWithRetryOnStaleState(SolrRequest request,
int retryCount,
List<String> inputCollections)
As this class doesn't watch external collections on the client side,
there's a chance that the request will fail due to cached stale state,
which means the state must be refreshed from ZK and retried.
|
protected NamedList<Object> |
CloudSolrClient.sendRequest(SolrRequest request,
List<String> inputCollections) |
Modifier and Type | Method and Description |
---|---|
CloudSolrClient.RouteResponse |
CloudSolrClient.condenseResponse(NamedList response,
int timeMillis) |
static HttpSolrClient.RemoteExecutionException |
HttpSolrClient.RemoteExecutionException.create(String host,
NamedList errResponse) |
int |
CloudSolrClient.getMinAchievedReplicationFactor(String collection,
NamedList resp)
Useful for determining the minimum achieved replication factor across
all shards involved in processing an update request, typically useful
for gauging the replication factor of a batch.
|
Map<String,Integer> |
CloudSolrClient.getShardReplicationFactor(String collection,
NamedList resp)
Walks the NamedList response after performing an update request looking for
the replication factor that was achieved in each shard involved in the request.
|
void |
CloudSolrClient.RouteResponse.setRouteResponses(NamedList routeResponses) |
Constructor and Description |
---|
RemoteExecutionException(String remoteHost,
int code,
String msg,
NamedList meta) |
RouteException(SolrException.ErrorCode errorCode,
NamedList<Throwable> throwables,
Map<String,LBHttpSolrClient.Req> routes) |
Modifier and Type | Method and Description |
---|---|
NamedList<Double> |
FeaturesSelectionStream.FeaturesSelectionCall.call() |
NamedList<Double> |
SignificantTermsStream.SignificantTermsCall.call() |
Constructor and Description |
---|
CoreStatus(NamedList<Object> response) |
Modifier and Type | Method and Description |
---|---|
protected abstract NamedList<Object> |
SchemaRequest.Update.getRequestParameters() |
protected NamedList<Object> |
SchemaRequest.MultiUpdate.getRequestParameters() |
Modifier and Type | Field and Description |
---|---|
NamedList<Object> |
SimpleSolrResponse.nl |
Modifier and Type | Method and Description |
---|---|
Map<String,NamedList<Integer>> |
CollectionAdminResponse.getCollectionCoresStatus() |
Map<String,NamedList<Integer>> |
CollectionAdminResponse.getCollectionNodesStatus() |
NamedList<NamedList<Object>> |
CollectionAdminResponse.getCollectionStatus() |
NamedList<NamedList<Object>> |
CoreAdminResponse.getCoreStatus() |
Modifier and Type | Method and Description |
---|---|
protected List<AnalysisResponseBase.AnalysisPhase> |
AnalysisResponseBase.buildPhases(NamedList<List<NamedList<Object>>> phaseNL)
Parses the given named list and builds a list of analysis phases form it.
|
protected AnalysisResponseBase.TokenInfo |
AnalysisResponseBase.buildTokenInfo(NamedList<Object> tokenNL)
Parses the given named list and builds a token infoform it.
|
void |
LukeResponse.FieldTypeInfo.read(NamedList<Object> nl) |
void |
LukeResponse.FieldInfo.read(NamedList<Object> nl) |
void |
DocumentAnalysisResponse.setResponse(NamedList<Object> response) |
void |
QueryResponse.setResponse(NamedList<Object> res) |
void |
SolrResponseBase.setResponse(NamedList<Object> response) |
void |
LukeResponse.setResponse(NamedList<Object> res) |
void |
FieldAnalysisResponse.setResponse(NamedList<Object> response) |
void |
SimpleSolrResponse.setResponse(NamedList<Object> rsp) |
Modifier and Type | Method and Description |
---|---|
protected List<AnalysisResponseBase.AnalysisPhase> |
AnalysisResponseBase.buildPhases(NamedList<List<NamedList<Object>>> phaseNL)
Parses the given named list and builds a list of analysis phases form it.
|
protected List<PivotField> |
QueryResponse.readPivots(List<NamedList> list) |
Constructor and Description |
---|
FieldStatsInfo(NamedList<Object> nl,
String fname) |
QueryResponse(NamedList<Object> res,
SolrClient solrClient)
Utility constructor to set the solrServer and namedList
|
SpellCheckResponse(NamedList<Object> spellInfo) |
Suggestion(String token,
NamedList<Object> suggestion) |
TermsResponse(NamedList<NamedList<Object>> termsInfo) |
Constructor and Description |
---|
ClusteringResponse(List<NamedList<Object>> clusterInfo) |
SuggesterResponse(Map<String,NamedList<Object>> suggestInfo) |
TermsResponse(NamedList<NamedList<Object>> termsInfo) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.SchemaNameResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.SchemaVersionResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.FieldResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.FieldsResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.DynamicFieldResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.DynamicFieldsResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.UniqueKeyResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.GlobalSimilarityResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.CopyFieldsResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.FieldTypeResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.FieldTypesResponse.setResponse(NamedList<Object> response) |
void |
SchemaResponse.UpdateResponse.setResponse(NamedList<Object> response) |
Modifier and Type | Field and Description |
---|---|
protected NamedList<String> |
SolrException.metadata |
Modifier and Type | Method and Description |
---|---|
NamedList<String> |
SolrException.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
SolrException.setMetadata(NamedList<String> metadata) |
Modifier and Type | Method and Description |
---|---|
NamedList<Object> |
SolrParams.toNamedList()
Convert this to a NamedList
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
SolrParams.toMap(NamedList params)
Create a Map<String,String> from a NamedList given no keys are repeated
|
static Map<String,String[]> |
SolrParams.toMultiMap(NamedList params)
Create a Map<String,String[]> from a NamedList
|
static SolrParams |
SolrParams.toSolrParams(NamedList params)
Create SolrParams from NamedList.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleOrderedMap<T>
SimpleOrderedMap is a NamedList where access by key is more
important than maintaining order when it comes to representing the
held data in other forms, as ResponseWriters normally do. |
Modifier and Type | Method and Description |
---|---|
NamedList<T> |
NamedList.clone()
Makes a shallow copy of the named list.
|
NamedList<T> |
NamedList.getImmutableCopy() |
NamedList<Object> |
JavaBinCodec.readNamedList(DataInputInputStream dis) |
Modifier and Type | Method and Description |
---|---|
boolean |
NamedList.addAll(NamedList<T> nl)
Appends the elements of the given NamedList to this one.
|
static List<CommandOperation> |
CommandOperation.readCommands(Iterable<ContentStream> streams,
NamedList resp) |
static List<CommandOperation> |
CommandOperation.readCommands(Iterable<ContentStream> streams,
NamedList resp,
Set<String> singletonCommands)
Read commands from request streams
|
void |
JavaBinCodec.writeNamedList(NamedList<?> nl) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.