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.
|
Modifier and Type | Method and Description |
---|---|
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
Many
SolrClient implementations have drastically slower indexing performance when documents are added
individually. |
UpdateResponse |
SolrClient.add(SolrInputDocument doc,
int commitWithinMs)
Adds a single document specifying max time before it becomes committed
|
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.addBean(Object obj)
Adds a single bean
The bean is converted to a
SolrInputDocument by the client's
DocumentObjectBinder |
UpdateResponse |
SolrClient.addBean(Object obj,
int commitWithinMs)
Adds a single bean specifying max time before it becomes committed
The bean is converted to a
SolrInputDocument by the client's
DocumentObjectBinder |
UpdateResponse |
SolrClient.addBean(String collection,
Object obj)
Adds a single bean
The bean is converted to a
SolrInputDocument by the client's
DocumentObjectBinder |
UpdateResponse |
SolrClient.addBean(String collection,
Object obj,
int commitWithinMs)
Adds a single bean specifying max time before it becomes committed
The bean is converted to a
SolrInputDocument by the client's
DocumentObjectBinder |
UpdateResponse |
SolrClient.addBeans(Collection<?> beans)
Adds a collection of beans
The beans are converted to
SolrInputDocument s by the client's
DocumentObjectBinder |
UpdateResponse |
SolrClient.addBeans(Collection<?> beans,
int commitWithinMs)
Adds a collection of beans specifying max time before they become committed
The beans are converted to
SolrInputDocument s by the client's
DocumentObjectBinder |
UpdateResponse |
SolrClient.addBeans(Iterator<?> beanIterator)
Adds the beans supplied by the given iterator.
|
UpdateResponse |
SolrClient.addBeans(String collection,
Collection<?> beans)
Adds a collection of beans
The beans are converted to
SolrInputDocument s by the client's
DocumentObjectBinder |
UpdateResponse |
SolrClient.addBeans(String collection,
Collection<?> beans,
int commitWithinMs)
Adds a collection of beans specifying max time before they become committed
The beans are converted to
SolrInputDocument s by the client's
DocumentObjectBinder |
UpdateResponse |
SolrClient.addBeans(String collection,
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
waitFlush=true and waitSearcher=true to be inline with the defaults for plain HTTP access
|
UpdateResponse |
SolrClient.commit(boolean waitFlush,
boolean waitSearcher)
Performs an explicit commit, causing pending documents to be committed for indexing
Be very careful when triggering commits from the client side.
|
UpdateResponse |
SolrClient.commit(boolean waitFlush,
boolean waitSearcher,
boolean softCommit)
Performs an explicit commit, causing pending documents to be committed for indexing
Be very careful when triggering commits from the client side.
|
UpdateResponse |
SolrClient.commit(String collection)
Performs an explicit commit, causing pending documents to be committed for indexing
waitFlush=true and waitSearcher=true to be inline with the defaults for plain HTTP access
|
UpdateResponse |
SolrClient.commit(String collection,
boolean waitFlush,
boolean waitSearcher)
Performs an explicit commit, causing pending documents to be committed for indexing
Be very careful when triggering commits from the client side.
|
UpdateResponse |
SolrClient.commit(String collection,
boolean waitFlush,
boolean waitSearcher,
boolean softCommit)
Performs an explicit commit, causing pending documents to be committed for indexing
Be very careful when triggering commits from the client side.
|
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.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,
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(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.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.
|
Modifier and Type | Method and Description |
---|---|
UpdateResponse |
UpdateRequest.commit(SolrClient client,
String collection) |
protected UpdateResponse |
DirectXmlRequest.createResponse(SolrClient client) |
protected UpdateResponse |
AbstractUpdateRequest.createResponse(SolrClient client) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.