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.request |
Convenience classes for dealing with various types of Solr requests.
|
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
SolrServer.add(Collection<SolrInputDocument> docs)
Adds a collection of documents
|
UpdateResponse |
SolrServer.add(Collection<SolrInputDocument> docs,
int commitWithinMs)
Adds a collection of documents, specifying max time before they become committed
|
UpdateResponse |
SolrServer.add(SolrInputDocument doc)
Adds a single document
|
UpdateResponse |
SolrServer.add(SolrInputDocument doc,
int commitWithinMs)
Adds a single document specifying max time before it becomes committed
|
UpdateResponse |
SolrServer.addBean(Object obj)
Adds a single bean
|
UpdateResponse |
SolrServer.addBean(Object obj,
int commitWithinMs)
Adds a single bean specifying max time before it becomes committed
|
UpdateResponse |
SolrServer.addBeans(Collection<?> beans)
Adds a collection of beans
|
UpdateResponse |
SolrServer.addBeans(Collection<?> beans,
int commitWithinMs)
Adds a collection of beans specifying max time before they become committed
|
UpdateResponse |
SolrServer.commit()
Performs an explicit commit, causing pending documents to be committed for indexing
|
UpdateResponse |
SolrServer.commit(boolean waitFlush,
boolean waitSearcher)
Performs an explicit commit, causing pending documents to be committed for indexing
|
UpdateResponse |
SolrServer.commit(boolean waitFlush,
boolean waitSearcher,
boolean softCommit)
Performs an explicit commit, causing pending documents to be committed for indexing
|
UpdateResponse |
SolrServer.deleteById(List<String> ids)
Deletes a list of documents by unique ID
|
UpdateResponse |
SolrServer.deleteById(List<String> ids,
int commitWithinMs)
Deletes a list of documents by unique ID, specifying max time before commit
|
UpdateResponse |
SolrServer.deleteById(String id)
Deletes a single document by unique ID
|
UpdateResponse |
SolrServer.deleteById(String id,
int commitWithinMs)
Deletes a single document by unique ID, specifying max time before commit
|
UpdateResponse |
SolrServer.deleteByQuery(String query)
Deletes documents from the index based on a query
|
UpdateResponse |
SolrServer.deleteByQuery(String query,
int commitWithinMs)
Deletes documents from the index based on a query, specifying max time before commit
|
UpdateResponse |
SolrServer.optimize()
Performs an explicit optimize, causing a merge of all segments to one.
|
UpdateResponse |
SolrServer.optimize(boolean waitFlush,
boolean waitSearcher)
Performs an explicit optimize, causing a merge of all segments to one.
|
UpdateResponse |
SolrServer.optimize(boolean waitFlush,
boolean waitSearcher,
int maxSegments)
Performs an explicit optimize, causing a merge of all segments to one.
|
SolrPingResponse |
SolrServer.ping()
Issues a ping request to check if the server is alive
|
abstract SolrResponse |
SolrRequest.process(SolrServer server) |
QueryResponse |
SolrServer.query(SolrParams params)
Performs a query to the Solr server
|
QueryResponse |
SolrServer.query(SolrParams params,
SolrRequest.METHOD method)
Performs a query to the Solr server
|
QueryResponse |
SolrServer.queryAndStreamResponse(SolrParams params,
StreamingResponseCallback callback)
Query solr, and stream the results.
|
abstract NamedList<Object> |
SolrServer.request(SolrRequest request)
SolrServer implementations need to implement how a request is actually processed
|
UpdateResponse |
SolrServer.rollback()
Performs a rollback of all non-committed documents pending.
|
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
HttpSolrServer.add(Iterator<SolrInputDocument> docIterator)
Adds the documents supplied by the given iterator.
|
UpdateResponse |
HttpSolrServer.addBeans(Iterator<?> beanIterator)
Adds the beans supplied by the given iterator.
|
protected org.apache.http.client.methods.HttpRequestBase |
HttpSolrServer.createMethod(SolrRequest request) |
protected Exception |
LBHttpSolrServer.doRequest(HttpSolrServer server,
LBHttpSolrServer.Req req,
LBHttpSolrServer.Rsp rsp,
boolean isUpdate,
boolean isZombie,
String zombieKey) |
protected NamedList<Object> |
HttpSolrServer.executeMethod(org.apache.http.client.methods.HttpRequestBase method,
ResponseParser processor) |
HttpSolrServer.HttpUriRequestResponse |
HttpSolrServer.httpUriRequest(SolrRequest request) |
HttpSolrServer.HttpUriRequestResponse |
HttpSolrServer.httpUriRequest(SolrRequest request,
ResponseParser processor) |
LBHttpSolrServer.Rsp |
LBHttpSolrServer.request(LBHttpSolrServer.Req req)
Tries to query a live server from the list provided in Req.
|
NamedList<Object> |
ConcurrentUpdateSolrServer.request(SolrRequest request) |
NamedList<Object> |
LBHttpSolrServer.request(SolrRequest request)
Tries to query a live server.
|
NamedList<Object> |
CloudSolrServer.request(SolrRequest request) |
NamedList<Object> |
HttpSolrServer.request(SolrRequest request)
Process the request.
|
NamedList<Object> |
HttpSolrServer.request(SolrRequest request,
ResponseParser processor) |
Modifier and Type | Method and Description |
---|---|
static CollectionAdminResponse |
CollectionAdminRequest.createAlias(String name,
String collections,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
Boolean autoAddReplicas,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
String conf,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
Integer shards,
String conf,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
String shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
String shards,
Integer repl,
Integer maxShards,
String nodeSet,
String conf,
String routerField,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
String shards,
String conf,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createCollection(String name,
String shards,
String conf,
SolrServer server,
String asyncId) |
static CoreAdminResponse |
CoreAdminRequest.createCore(String name,
String instanceDir,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.createCore(String name,
String instanceDir,
SolrServer server,
String configFile,
String schemaFile) |
static CoreAdminResponse |
CoreAdminRequest.createCore(String name,
String instanceDir,
SolrServer server,
String configFile,
String schemaFile,
String dataDir,
String tlogDir) |
static CollectionAdminResponse |
CollectionAdminRequest.createShard(String name,
String shard,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.createShard(String name,
String shard,
String nodeSet,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.deleteAlias(String name,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.deleteCollection(String name,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.deleteCollection(String name,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.deleteShard(String name,
String shard,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.getStatus(String name,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.mergeIndexes(String name,
String[] indexDirs,
String[] srcCores,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.persist(String fileName,
SolrServer server)
Deprecated.
|
LukeResponse |
LukeRequest.process(SolrServer server) |
UpdateResponse |
DirectXmlRequest.process(SolrServer server) |
SolrPingResponse |
SolrPing.process(SolrServer server) |
CoreAdminResponse |
CoreAdminRequest.process(SolrServer server) |
QueryResponse |
QueryRequest.process(SolrServer server) |
CollectionAdminResponse |
CollectionAdminRequest.process(SolrServer server) |
DocumentAnalysisResponse |
DocumentAnalysisRequest.process(SolrServer server) |
FieldAnalysisResponse |
FieldAnalysisRequest.process(SolrServer server) |
UpdateResponse |
AbstractUpdateRequest.process(SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.reloadCollection(String name,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.reloadCollection(String name,
SolrServer server,
String asyncId) |
static CoreAdminResponse |
CoreAdminRequest.reloadCore(String name,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.renameCore(String coreName,
String newName,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.requestStatus(String requestId,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.splitShard(String name,
String shard,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.splitShard(String name,
String shard,
SolrServer server,
String asyncId) |
static CollectionAdminResponse |
CollectionAdminRequest.splitShard(String name,
String shard,
String ranges,
SolrServer server) |
static CollectionAdminResponse |
CollectionAdminRequest.splitShard(String name,
String shard,
String ranges,
SolrServer server,
String asyncId) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
boolean deleteIndex,
boolean deleteInstanceDir,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
boolean deleteIndex,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
SolrServer server) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.