public class DelegatingHttpSolrClient
extends org.apache.solr.client.solrj.SolrClient
HttpSolrClient. With older versions of SolrJ, there was no ability to specify a
a collection on an HttpSolrClient. As a result, you needed two different clients, one for each collection. For example, you might have
a client with the base URL: http://localhost:8983/solr/catalog and another with the base URL of http://localhost:8983/solr/catalog_reindex.
What this class allows for is a "defaultCollection". If the base URL is http://localhost:8983/solr for example, and the default collection is "catalog", then a call
to DelegatingHttpSolrClient#query(new SolrQuery("foo:bar") will search the "catalog" index, or http://localhost:8983/solr/catalog. Alternatively, a call to
DelegatingHttpSolrClient#query("catalog_reindex", new SolrQuery("foo:bar")) will search the "catalog_reindex" index, or http://localhost:8983/solr/catalog_reindex.
The same thing goes for writes. This class simply delegates to the delegate passed into the constructor.| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultCollection |
protected String |
defaultCollectionPath |
protected org.apache.solr.client.solrj.impl.HttpSolrClient |
delegate |
| Constructor and Description |
|---|
DelegatingHttpSolrClient(org.apache.solr.client.solrj.impl.HttpSolrClient delegate) |
DelegatingHttpSolrClient(org.apache.solr.client.solrj.impl.HttpSolrClient delegate,
String defaultCollection) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.solr.client.solrj.response.UpdateResponse |
add(Collection<org.apache.solr.common.SolrInputDocument> docs) |
org.apache.solr.client.solrj.response.UpdateResponse |
add(Collection<org.apache.solr.common.SolrInputDocument> docs,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
add(Iterator<org.apache.solr.common.SolrInputDocument> docIterator) |
org.apache.solr.client.solrj.response.UpdateResponse |
add(org.apache.solr.common.SolrInputDocument doc) |
org.apache.solr.client.solrj.response.UpdateResponse |
add(org.apache.solr.common.SolrInputDocument doc,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
add(String collection,
Collection<org.apache.solr.common.SolrInputDocument> docs) |
org.apache.solr.client.solrj.response.UpdateResponse |
add(String collection,
Collection<org.apache.solr.common.SolrInputDocument> docs,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
add(String collection,
Iterator<org.apache.solr.common.SolrInputDocument> docIterator) |
org.apache.solr.client.solrj.response.UpdateResponse |
add(String collection,
org.apache.solr.common.SolrInputDocument doc) |
org.apache.solr.client.solrj.response.UpdateResponse |
add(String collection,
org.apache.solr.common.SolrInputDocument doc,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBean(Object obj) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBean(Object obj,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBean(String collection,
Object obj) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBean(String collection,
Object obj,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBeans(Collection<?> beans) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBeans(Collection<?> beans,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBeans(Iterator<?> beanIterator) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBeans(String collection,
Collection<?> beans) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBeans(String collection,
Collection<?> beans,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
addBeans(String collection,
Iterator<?> beanIterator) |
void |
close() |
org.apache.solr.client.solrj.response.UpdateResponse |
commit() |
org.apache.solr.client.solrj.response.UpdateResponse |
commit(boolean waitFlush,
boolean waitSearcher) |
org.apache.solr.client.solrj.response.UpdateResponse |
commit(boolean waitFlush,
boolean waitSearcher,
boolean softCommit) |
org.apache.solr.client.solrj.response.UpdateResponse |
commit(String collection) |
org.apache.solr.client.solrj.response.UpdateResponse |
commit(String collection,
boolean waitFlush,
boolean waitSearcher) |
org.apache.solr.client.solrj.response.UpdateResponse |
commit(String collection,
boolean waitFlush,
boolean waitSearcher,
boolean softCommit) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteById(List<String> ids) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteById(List<String> ids,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteById(String id) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteById(String id,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteById(String collection,
List<String> ids) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteById(String collection,
List<String> ids,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteById(String collection,
String id) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteById(String collection,
String id,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteByQuery(String query) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteByQuery(String query,
int commitWithinMs) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteByQuery(String collection,
String query) |
org.apache.solr.client.solrj.response.UpdateResponse |
deleteByQuery(String collection,
String query,
int commitWithinMs) |
org.apache.solr.client.solrj.beans.DocumentObjectBinder |
getBinder() |
org.apache.solr.common.SolrDocumentList |
getById(Collection<String> ids) |
org.apache.solr.common.SolrDocumentList |
getById(Collection<String> ids,
org.apache.solr.common.params.SolrParams params) |
org.apache.solr.common.SolrDocument |
getById(String id) |
org.apache.solr.common.SolrDocumentList |
getById(String collection,
Collection<String> ids) |
org.apache.solr.common.SolrDocumentList |
getById(String collection,
Collection<String> ids,
org.apache.solr.common.params.SolrParams params) |
org.apache.solr.common.SolrDocument |
getById(String id,
org.apache.solr.common.params.SolrParams params) |
org.apache.solr.common.SolrDocument |
getById(String collection,
String id) |
org.apache.solr.common.SolrDocument |
getById(String collection,
String id,
org.apache.solr.common.params.SolrParams params) |
String |
getDefaultCollection() |
org.apache.solr.client.solrj.impl.HttpSolrClient |
getDelegate() |
org.apache.solr.client.solrj.response.UpdateResponse |
optimize() |
org.apache.solr.client.solrj.response.UpdateResponse |
optimize(boolean waitFlush,
boolean waitSearcher) |
org.apache.solr.client.solrj.response.UpdateResponse |
optimize(boolean waitFlush,
boolean waitSearcher,
int maxSegments) |
org.apache.solr.client.solrj.response.UpdateResponse |
optimize(String collection) |
org.apache.solr.client.solrj.response.UpdateResponse |
optimize(String collection,
boolean waitFlush,
boolean waitSearcher) |
org.apache.solr.client.solrj.response.UpdateResponse |
optimize(String collection,
boolean waitFlush,
boolean waitSearcher,
int maxSegments) |
org.apache.solr.client.solrj.response.SolrPingResponse |
ping() |
org.apache.solr.client.solrj.response.QueryResponse |
query(org.apache.solr.common.params.SolrParams params) |
org.apache.solr.client.solrj.response.QueryResponse |
query(org.apache.solr.common.params.SolrParams params,
org.apache.solr.client.solrj.SolrRequest.METHOD method) |
org.apache.solr.client.solrj.response.QueryResponse |
query(String collection,
org.apache.solr.common.params.SolrParams params) |
org.apache.solr.client.solrj.response.QueryResponse |
query(String collection,
org.apache.solr.common.params.SolrParams params,
org.apache.solr.client.solrj.SolrRequest.METHOD method) |
org.apache.solr.client.solrj.response.QueryResponse |
queryAndStreamResponse(org.apache.solr.common.params.SolrParams params,
org.apache.solr.client.solrj.StreamingResponseCallback callback) |
org.apache.solr.client.solrj.response.QueryResponse |
queryAndStreamResponse(String collection,
org.apache.solr.common.params.SolrParams params,
org.apache.solr.client.solrj.StreamingResponseCallback callback) |
org.apache.solr.common.util.NamedList<Object> |
request(org.apache.solr.client.solrj.SolrRequest request,
String collection) |
org.apache.solr.client.solrj.response.UpdateResponse |
rollback() |
org.apache.solr.client.solrj.response.UpdateResponse |
rollback(String collection) |
void |
shutdown() |
protected final org.apache.solr.client.solrj.impl.HttpSolrClient delegate
protected final String defaultCollection
protected final String defaultCollectionPath
public DelegatingHttpSolrClient(org.apache.solr.client.solrj.impl.HttpSolrClient delegate)
public DelegatingHttpSolrClient(org.apache.solr.client.solrj.impl.HttpSolrClient delegate,
String defaultCollection)
public org.apache.solr.common.util.NamedList<Object> request(org.apache.solr.client.solrj.SolrRequest request, String collection) throws org.apache.solr.client.solrj.SolrServerException, IOException
request in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic void shutdown()
shutdown in class org.apache.solr.client.solrj.SolrClientpublic org.apache.solr.client.solrj.response.UpdateResponse add(String collection, Collection<org.apache.solr.common.SolrInputDocument> docs) throws org.apache.solr.client.solrj.SolrServerException, IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse add(Collection<org.apache.solr.common.SolrInputDocument> docs) throws org.apache.solr.client.solrj.SolrServerException, IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse add(String collection, Collection<org.apache.solr.common.SolrInputDocument> docs, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse add(Collection<org.apache.solr.common.SolrInputDocument> docs, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse add(String collection, org.apache.solr.common.SolrInputDocument doc) throws org.apache.solr.client.solrj.SolrServerException, IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse add(org.apache.solr.common.SolrInputDocument doc)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse add(String collection, org.apache.solr.common.SolrInputDocument doc, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse add(org.apache.solr.common.SolrInputDocument doc,
int commitWithinMs)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse add(String collection, Iterator<org.apache.solr.common.SolrInputDocument> docIterator) throws org.apache.solr.client.solrj.SolrServerException, IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse add(Iterator<org.apache.solr.common.SolrInputDocument> docIterator) throws org.apache.solr.client.solrj.SolrServerException, IOException
add in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBean(String collection, Object obj) throws IOException, org.apache.solr.client.solrj.SolrServerException
addBean in class org.apache.solr.client.solrj.SolrClientIOExceptionorg.apache.solr.client.solrj.SolrServerExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBean(Object obj) throws IOException, org.apache.solr.client.solrj.SolrServerException
addBean in class org.apache.solr.client.solrj.SolrClientIOExceptionorg.apache.solr.client.solrj.SolrServerExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBean(String collection, Object obj, int commitWithinMs) throws IOException, org.apache.solr.client.solrj.SolrServerException
addBean in class org.apache.solr.client.solrj.SolrClientIOExceptionorg.apache.solr.client.solrj.SolrServerExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBean(Object obj, int commitWithinMs) throws IOException, org.apache.solr.client.solrj.SolrServerException
addBean in class org.apache.solr.client.solrj.SolrClientIOExceptionorg.apache.solr.client.solrj.SolrServerExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBeans(String collection, Collection<?> beans) throws org.apache.solr.client.solrj.SolrServerException, IOException
addBeans in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBeans(Collection<?> beans) throws org.apache.solr.client.solrj.SolrServerException, IOException
addBeans in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBeans(String collection, Collection<?> beans, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
addBeans in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBeans(Collection<?> beans, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
addBeans in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBeans(String collection, Iterator<?> beanIterator) throws org.apache.solr.client.solrj.SolrServerException, IOException
addBeans in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse addBeans(Iterator<?> beanIterator) throws org.apache.solr.client.solrj.SolrServerException, IOException
addBeans in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse commit(String collection) throws org.apache.solr.client.solrj.SolrServerException, IOException
commit in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse commit()
throws org.apache.solr.client.solrj.SolrServerException,
IOException
commit in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse commit(String collection, boolean waitFlush, boolean waitSearcher) throws org.apache.solr.client.solrj.SolrServerException, IOException
commit in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse commit(boolean waitFlush,
boolean waitSearcher)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
commit in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse commit(String collection, boolean waitFlush, boolean waitSearcher, boolean softCommit) throws org.apache.solr.client.solrj.SolrServerException, IOException
commit in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse commit(boolean waitFlush,
boolean waitSearcher,
boolean softCommit)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
commit in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse optimize(String collection) throws org.apache.solr.client.solrj.SolrServerException, IOException
optimize in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse optimize()
throws org.apache.solr.client.solrj.SolrServerException,
IOException
optimize in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse optimize(String collection, boolean waitFlush, boolean waitSearcher) throws org.apache.solr.client.solrj.SolrServerException, IOException
optimize in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse optimize(boolean waitFlush,
boolean waitSearcher)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
optimize in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse optimize(String collection, boolean waitFlush, boolean waitSearcher, int maxSegments) throws org.apache.solr.client.solrj.SolrServerException, IOException
optimize in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse optimize(boolean waitFlush,
boolean waitSearcher,
int maxSegments)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
optimize in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse rollback(String collection) throws org.apache.solr.client.solrj.SolrServerException, IOException
rollback in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse rollback()
throws org.apache.solr.client.solrj.SolrServerException,
IOException
rollback in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteById(String collection, String id) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteById(String id) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteById(String collection, String id, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteById(String id, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteById(String collection, List<String> ids) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteById(List<String> ids) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteById(String collection, List<String> ids, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteById(List<String> ids, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteByQuery(String collection, String query) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteByQuery in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteByQuery(String query) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteByQuery in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteByQuery(String collection, String query, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteByQuery in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.UpdateResponse deleteByQuery(String query, int commitWithinMs) throws org.apache.solr.client.solrj.SolrServerException, IOException
deleteByQuery in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.SolrPingResponse ping()
throws org.apache.solr.client.solrj.SolrServerException,
IOException
ping in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.QueryResponse query(String collection, org.apache.solr.common.params.SolrParams params) throws org.apache.solr.client.solrj.SolrServerException, IOException
query in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.QueryResponse query(org.apache.solr.common.params.SolrParams params)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
query in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.QueryResponse query(String collection, org.apache.solr.common.params.SolrParams params, org.apache.solr.client.solrj.SolrRequest.METHOD method) throws org.apache.solr.client.solrj.SolrServerException, IOException
query in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.QueryResponse query(org.apache.solr.common.params.SolrParams params,
org.apache.solr.client.solrj.SolrRequest.METHOD method)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
query in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.QueryResponse queryAndStreamResponse(String collection, org.apache.solr.common.params.SolrParams params, org.apache.solr.client.solrj.StreamingResponseCallback callback) throws org.apache.solr.client.solrj.SolrServerException, IOException
queryAndStreamResponse in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.response.QueryResponse queryAndStreamResponse(org.apache.solr.common.params.SolrParams params,
org.apache.solr.client.solrj.StreamingResponseCallback callback)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
queryAndStreamResponse in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.common.SolrDocument getById(String collection, String id) throws org.apache.solr.client.solrj.SolrServerException, IOException
getById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.common.SolrDocument getById(String id) throws org.apache.solr.client.solrj.SolrServerException, IOException
getById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.common.SolrDocument getById(String collection, String id, org.apache.solr.common.params.SolrParams params) throws org.apache.solr.client.solrj.SolrServerException, IOException
getById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.common.SolrDocument getById(String id, org.apache.solr.common.params.SolrParams params) throws org.apache.solr.client.solrj.SolrServerException, IOException
getById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.common.SolrDocumentList getById(String collection, Collection<String> ids) throws org.apache.solr.client.solrj.SolrServerException, IOException
getById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.common.SolrDocumentList getById(Collection<String> ids) throws org.apache.solr.client.solrj.SolrServerException, IOException
getById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.common.SolrDocumentList getById(String collection, Collection<String> ids, org.apache.solr.common.params.SolrParams params) throws org.apache.solr.client.solrj.SolrServerException, IOException
getById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.common.SolrDocumentList getById(Collection<String> ids, org.apache.solr.common.params.SolrParams params) throws org.apache.solr.client.solrj.SolrServerException, IOException
getById in class org.apache.solr.client.solrj.SolrClientorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic org.apache.solr.client.solrj.beans.DocumentObjectBinder getBinder()
getBinder in class org.apache.solr.client.solrj.SolrClientpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.solr.client.solrj.SolrClientIOExceptionpublic org.apache.solr.client.solrj.impl.HttpSolrClient getDelegate()
public String getDefaultCollection()
Copyright © 2021. All rights reserved.