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.
|
LBHttpSolrServer.Rsp |
LBHttpSolrServer.request(LBHttpSolrServer.Req req)
Tries to query a live server from the list provided in Req.
|
NamedList<Object> |
LBHttpSolrServer.request(SolrRequest request)
Tries to query a live server.
|
NamedList<Object> |
HttpSolrServer.request(SolrRequest request)
Process the request.
|
NamedList<Object> |
ConcurrentUpdateSolrServer.request(SolrRequest request) |
NamedList<Object> |
CloudSolrServer.request(SolrRequest request) |
NamedList<Object> |
HttpSolrServer.request(SolrRequest request,
ResponseParser processor) |
Modifier and Type | Method and Description |
---|---|
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 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) |
SolrPingResponse |
SolrPing.process(SolrServer server) |
QueryResponse |
QueryRequest.process(SolrServer server) |
LukeResponse |
LukeRequest.process(SolrServer server) |
FieldAnalysisResponse |
FieldAnalysisRequest.process(SolrServer server) |
DocumentAnalysisResponse |
DocumentAnalysisRequest.process(SolrServer server) |
UpdateResponse |
DirectXmlRequest.process(SolrServer server) |
CoreAdminResponse |
CoreAdminRequest.process(SolrServer server) |
UpdateResponse |
AbstractUpdateRequest.process(SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.reloadCore(String name,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.renameCore(String coreName,
String newName,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
boolean deleteIndex,
SolrServer server) |
static CoreAdminResponse |
CoreAdminRequest.unloadCore(String name,
SolrServer server) |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.