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.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
SolrRequest.createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
T |
SolrRequest.process(SolrClient client)
Send this request to a
SolrClient and return the response |
T |
SolrRequest.process(SolrClient client,
String collection)
Send this request to a
SolrClient and return the response |
Modifier and Type | Class and Description |
---|---|
class |
CloudSolrClient
SolrJ client class to communicate with SolrCloud.
|
class |
ConcurrentUpdateSolrClient
ConcurrentUpdateSolrClient buffers all added documents and writes
them into open HTTP connections.
|
class |
DelegationTokenHttpSolrClient |
class |
HttpSolrClient
A SolrClient implementation that talks directly to a Solr server via HTTP
|
class |
LBHttpSolrClient
LBHttpSolrClient or "LoadBalanced HttpSolrClient" is a load balancing wrapper around
HttpSolrClient . |
Modifier and Type | Method and Description |
---|---|
TupleStreamParser |
SolrStream.constructParser(SolrClient server,
SolrParams requestParams) |
static JSONTupleStream |
JSONTupleStream.create(SolrClient server,
SolrParams requestParams) |
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
UpdateRequest.commit(SolrClient client,
String collection) |
static CoreAdminResponse |
CoreAdminRequest.createCore(String name,
String instanceDir,
SolrClient client) |
static CoreAdminResponse |
CoreAdminRequest.createCore(String name,
String instanceDir,
SolrClient client,
String configFile,
String schemaFile) |
static CoreAdminResponse |
CoreAdminRequest.createCore(String name,
String instanceDir,
SolrClient client,
String configFile,
String schemaFile,
String dataDir,
String tlogDir) |
protected V2Response |
V2Request.createResponse(SolrClient client) |
protected SolrPingResponse |
SolrPing.createResponse(SolrClient client) |
protected QueryResponse |
QueryRequest.createResponse(SolrClient client) |
protected LukeResponse |
LukeRequest.createResponse(SolrClient client) |
protected SimpleSolrResponse |
GenericSolrRequest.createResponse(SolrClient client) |
protected FieldAnalysisResponse |
FieldAnalysisRequest.createResponse(SolrClient client) |
protected DocumentAnalysisResponse |
DocumentAnalysisRequest.createResponse(SolrClient client) |
protected UpdateResponse |
DirectXmlRequest.createResponse(SolrClient client) |
protected abstract R |
DelegationTokenRequest.createResponse(SolrClient client) |
DelegationTokenResponse.Get |
DelegationTokenRequest.Get.createResponse(SolrClient client) |
DelegationTokenResponse.Renew |
DelegationTokenRequest.Renew.createResponse(SolrClient client) |
DelegationTokenResponse.Cancel |
DelegationTokenRequest.Cancel.createResponse(SolrClient client) |
protected CoreAdminResponse |
CoreAdminRequest.createResponse(SolrClient client) |
protected abstract R |
ConfigSetAdminRequest.createResponse(SolrClient client) |
protected ConfigSetAdminResponse |
ConfigSetAdminRequest.ConfigSetSpecificAdminRequest.createResponse(SolrClient client) |
protected ConfigSetAdminResponse.List |
ConfigSetAdminRequest.List.createResponse(SolrClient client) |
protected CollectionAdminResponse |
CollectionAdminRequest.AsyncCollectionAdminRequest.createResponse(SolrClient client) |
protected SolrResponse |
CollectionAdminRequest.ShardSpecificAdminRequest.createResponse(SolrClient client) |
protected CollectionAdminRequest.RequestStatusResponse |
CollectionAdminRequest.RequestStatus.createResponse(SolrClient client) |
protected CollectionAdminResponse |
CollectionAdminRequest.DeleteStatus.createResponse(SolrClient client) |
protected CollectionAdminResponse |
CollectionAdminRequest.ClusterProp.createResponse(SolrClient client) |
protected CollectionAdminResponse |
CollectionAdminRequest.ClusterStatus.createResponse(SolrClient client) |
protected CollectionAdminResponse |
CollectionAdminRequest.ListAliases.createResponse(SolrClient client) |
protected CollectionAdminResponse |
CollectionAdminRequest.List.createResponse(SolrClient client) |
protected UpdateResponse |
AbstractUpdateRequest.createResponse(SolrClient client) |
static CoreStatus |
CoreAdminRequest.getCoreStatus(String coreName,
boolean getIndexInfo,
SolrClient client) |
static CoreStatus |
CoreAdminRequest.getCoreStatus(String coreName,
SolrClient client) |
static CoreAdminResponse |
CoreAdminRequest.getStatus(String name,
SolrClient client) |
static List<String> |
CollectionAdminRequest.listCollections(SolrClient client)
Returns a SolrRequest to get a list of collections in the cluster
|
static CoreAdminResponse |
CoreAdminRequest.mergeIndexes(String name,
String[] indexDirs,
String[] srcCores,
SolrClient client) |
RequestStatusState |
CollectionAdminRequest.AsyncCollectionAdminRequest.processAndWait(SolrClient client,
long timeoutSeconds)
Send this request to a Solr server, and wait (up to a timeout) for the request to
complete or fail
|
RequestStatusState |
CollectionAdminRequest.AsyncCollectionAdminRequest.processAndWait(String asyncId,
SolrClient client,
long timeoutSeconds)
Send this request to a Solr server, and wait (up to a timeout) for the request to
complete or fail
|
String |
CollectionAdminRequest.AsyncCollectionAdminRequest.processAsync(SolrClient client)
Process this request asynchronously, generating and returning a request id
|
String |
CollectionAdminRequest.AsyncCollectionAdminRequest.processAsync(String asyncId,
SolrClient client)
Process this request asynchronously, using a specified request id
|
static CoreAdminResponse |
CoreAdminRequest.reloadCore(String name,
SolrClient client) |
static CoreAdminResponse |
CoreAdminRequest.renameCore(String coreName,
String newName,
SolrClient client)
Rename an existing core.
|
static CoreAdminResponse |
CoreAdminRequest.swapCore(String core1,
String core2,
SolrClient client)
Swap two existing cores.
|
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
boolean deleteIndex,
boolean deleteInstanceDir,
SolrClient client) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
boolean deleteIndex,
SolrClient client) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
SolrClient client) |
RequestStatusState |
CollectionAdminRequest.RequestStatus.waitFor(SolrClient client,
long timeoutSeconds)
Wait until the asynchronous request is either completed or failed, up to a timeout
|
static void |
CollectionAdminRequest.waitForAsyncRequest(String requestId,
SolrClient client,
long timeout) |
Constructor and Description |
---|
QueryResponse(NamedList<Object> res,
SolrClient solrClient)
Utility constructor to set the solrServer and namedList
|
QueryResponse(SolrClient solrClient) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.