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.response |
Convenience classes for dealing with various types of Solr responses.
|
Modifier and Type | Class and Description |
---|---|
class |
SolrServer
Deprecated.
Use
SolrClient |
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 |
CloudSolrServer
Deprecated.
Use
CloudSolrClient |
class |
ConcurrentUpdateSolrClient
ConcurrentUpdateSolrClient buffers all added documents and writes
them into open HTTP connections.
|
class |
ConcurrentUpdateSolrServer
Deprecated.
|
class |
HttpSolrClient
A SolrClient implementation that talks directly to a Solr server via HTTP
There are two ways to use an HttpSolrClient:
1) Pass a URL to the constructor that points directly at a particular core
|
class |
HttpSolrServer
Deprecated.
Use
HttpSolrClient |
class |
LBHttpSolrClient
LBHttpSolrClient or "LoadBalanced HttpSolrClient" is a load balancing wrapper around
HttpSolrClient . |
class |
LBHttpSolrServer
Deprecated.
Use
LBHttpSolrClient |
Modifier and Type | Method and Description |
---|---|
static JSONTupleStream |
JSONTupleStream.create(SolrClient server,
SolrParams requestParams) |
Modifier and Type | Method and Description |
---|---|
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 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 CoreAdminResponse |
CoreAdminRequest.createResponse(SolrClient client) |
protected CollectionAdminResponse |
CollectionAdminRequest.createResponse(SolrClient client) |
protected UpdateResponse |
AbstractUpdateRequest.createResponse(SolrClient client) |
static CoreAdminResponse |
CoreAdminRequest.getStatus(String name,
SolrClient client) |
static CoreAdminResponse |
CoreAdminRequest.mergeIndexes(String name,
String[] indexDirs,
String[] srcCores,
SolrClient client) |
static CoreAdminResponse |
CoreAdminRequest.reloadCore(String name,
SolrClient client) |
static CoreAdminResponse |
CoreAdminRequest.renameCore(String coreName,
String newName,
SolrClient client) |
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) |
Constructor and Description |
---|
QueryResponse(NamedList<Object> res,
SolrClient solrClient)
Utility constructor to set the solrServer and namedList
|
QueryResponse(SolrClient solrClient) |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.