# Uses of Class
org.apache.solr.client.solrj.response.UpdateResponse

Packages that use UpdateResponse
Package
Description
org.apache.solr.client.solrj
Primary APIs for communicating with a Solr Server from a Java client.
org.apache.solr.client.solrj.request
Convenience classes for dealing with various types of Solr requests.

## Uses of UpdateResponse in org.apache.solr.client.solrj

Methods in org.apache.solr.client.solrj that return UpdateResponse
Modifier and Type
Method
Description
`UpdateResponse`
SolrClient.`add(String collection, Collection<SolrInputDocument> docs)`
Adds a collection of documents
`UpdateResponse`
SolrClient.`add(String collection, Collection<SolrInputDocument> docs, int commitWithinMs)`
Adds a collection of documents, specifying max time before they become committed
`UpdateResponse`
SolrClient.`add(String collection, Iterator<SolrInputDocument> docIterator)`
Adds the documents supplied by the given iterator.
`UpdateResponse`
SolrClient.`add(String collection, SolrInputDocument doc)`
Adds a single document
`UpdateResponse`
SolrClient.`add(String collection, SolrInputDocument doc, int commitWithinMs)`
Adds a single document specifying max time before it becomes committed
`UpdateResponse`
SolrClient.`add(Collection<SolrInputDocument> docs)`
Adds a collection of documents
`UpdateResponse`
SolrClient.`add(Collection<SolrInputDocument> docs, int commitWithinMs)`
Adds a collection of documents, specifying max time before they become committed
`UpdateResponse`
SolrClient.`add(Iterator<SolrInputDocument> docIterator)`
Adds the documents supplied by the given iterator.
`UpdateResponse`
SolrClient.`add(SolrInputDocument doc)`
Adds a single document
`UpdateResponse`
SolrClient.`add(SolrInputDocument doc, int commitWithinMs)`
Adds a single document specifying max time before it becomes committed
`UpdateResponse`
SolrClient.`addBean(Object obj)`
Adds a single bean
`UpdateResponse`
SolrClient.`addBean(Object obj, int commitWithinMs)`
Adds a single bean specifying max time before it becomes committed
`UpdateResponse`
SolrClient.`addBean(String collection, Object obj)`
Adds a single bean
`UpdateResponse`
SolrClient.`addBean(String collection, Object obj, int commitWithinMs)`
Adds a single bean specifying max time before it becomes committed
`UpdateResponse`
SolrClient.`addBeans(String collection, Collection<?> beans)`
Adds a collection of beans
`UpdateResponse`
SolrClient.`addBeans(String collection, Collection<?> beans, int commitWithinMs)`
Adds a collection of beans specifying max time before they become committed
`UpdateResponse`
SolrClient.`addBeans(String collection, Iterator<?> beanIterator)`
Adds the beans supplied by the given iterator.
`UpdateResponse`
SolrClient.`addBeans(Collection<?> beans)`
Adds a collection of beans
`UpdateResponse`
SolrClient.`addBeans(Collection<?> beans, int commitWithinMs)`
Adds a collection of beans specifying max time before they become committed
`UpdateResponse`
SolrClient.`addBeans(Iterator<?> beanIterator)`
Adds the beans supplied by the given iterator.
`UpdateResponse`
SolrClient.`commit()`
Performs an explicit commit, causing pending documents to be committed for indexing
`UpdateResponse`
SolrClient.`commit(boolean waitFlush, boolean waitSearcher)`
Performs an explicit commit, causing pending documents to be committed for indexing
`UpdateResponse`
SolrClient.`commit(boolean waitFlush, boolean waitSearcher, boolean softCommit)`
Performs an explicit commit, causing pending documents to be committed for indexing
`UpdateResponse`
SolrClient.`commit(String collection)`
Performs an explicit commit, causing pending documents to be committed for indexing
`UpdateResponse`
SolrClient.`commit(String collection, boolean waitFlush, boolean waitSearcher)`
Performs an explicit commit, causing pending documents to be committed for indexing
`UpdateResponse`
SolrClient.`commit(String collection, boolean waitFlush, boolean waitSearcher, boolean softCommit)`
Performs an explicit commit, causing pending documents to be committed for indexing
`UpdateResponse`
SolrClient.`deleteById(String id)`
Deletes a single document by unique ID.
`UpdateResponse`
SolrClient.`deleteById(String id, int commitWithinMs)`
Deletes a single document by unique ID, specifying max time before commit.
`UpdateResponse`
SolrClient.`deleteById(String collection, String id)`
Deletes a single document by unique ID.
`UpdateResponse`
SolrClient.`deleteById(String collection, String id, int commitWithinMs)`
Deletes a single document by unique ID, specifying max time before commit.
`UpdateResponse`
SolrClient.`deleteById(String collection, List<String> ids)`
Deletes a list of documents by unique ID.
`UpdateResponse`
SolrClient.`deleteById(String collection, List<String> ids, int commitWithinMs)`
Deletes a list of documents by unique ID, specifying max time before commit.
`UpdateResponse`
SolrClient.`deleteById(List<String> ids)`
Deletes a list of documents by unique ID.
`UpdateResponse`
SolrClient.`deleteById(List<String> ids, int commitWithinMs)`
Deletes a list of documents by unique ID, specifying max time before commit.
`UpdateResponse`
SolrClient.`deleteByQuery(String query)`
Deletes documents from the index based on a query
`UpdateResponse`
SolrClient.`deleteByQuery(String query, int commitWithinMs)`
Deletes documents from the index based on a query, specifying max time before commit
`UpdateResponse`
SolrClient.`deleteByQuery(String collection, String query)`
Deletes documents from the index based on a query
`UpdateResponse`
SolrClient.`deleteByQuery(String collection, String query, int commitWithinMs)`
Deletes documents from the index based on a query, specifying max time before commit
`UpdateResponse`
SolrClient.`optimize()`
Performs an explicit optimize, causing a merge of all segments to one.
`UpdateResponse`
SolrClient.`optimize(boolean waitFlush, boolean waitSearcher)`
Performs an explicit optimize, causing a merge of all segments to one.
`UpdateResponse`
SolrClient.`optimize(boolean waitFlush, boolean waitSearcher, int maxSegments)`
Performs an explicit optimize, causing a merge of all segments to one.
`UpdateResponse`
SolrClient.`optimize(String collection)`
Performs an explicit optimize, causing a merge of all segments to one.
`UpdateResponse`
SolrClient.`optimize(String collection, boolean waitFlush, boolean waitSearcher)`
Performs an explicit optimize, causing a merge of all segments to one.
`UpdateResponse`
SolrClient.`optimize(String collection, boolean waitFlush, boolean waitSearcher, int maxSegments)`
Performs an explicit optimize, causing a merge of all segments to one.
`UpdateResponse`
SolrClient.`rollback()`
Performs a rollback of all non-committed documents pending.
`UpdateResponse`
SolrClient.`rollback(String collection)`
Performs a rollback of all non-committed documents pending.

## Uses of UpdateResponse in org.apache.solr.client.solrj.request

Methods in org.apache.solr.client.solrj.request that return UpdateResponse
Modifier and Type
Method
Description
`UpdateResponse`
UpdateRequest.`commit(SolrClient client, String collection)`
`protected UpdateResponse`
AbstractUpdateRequest.`createResponse(NamedList<Object> namedList)`