Class SolrStandaloneSearchProvider.ClusterSolrClient
java.lang.Object
org.apache.solr.client.solrj.SolrClient
de.hybris.platform.solrfacetsearch.solr.impl.SolrStandaloneSearchProvider.ClusterSolrClient
- All Implemented Interfaces:
Closeable,Serializable,AutoCloseable
- Enclosing class:
- SolrStandaloneSearchProvider
protected static class SolrStandaloneSearchProvider.ClusterSolrClient
extends org.apache.solr.client.solrj.SolrClient
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected static class -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected final org.apache.solr.client.solrj.impl.HttpSolrClientcreateSolrClient(String baseSolrUrl) createSolrClients(List<String> baseSolrUrls) org.apache.http.client.HttpClientorg.apache.solr.client.solrj.SolrClientgetNodeClient(org.apache.solr.client.solrj.SolrClient solrClient, String node) getNodes()org.apache.solr.common.util.NamedList<Object>Methods inherited from class org.apache.solr.client.solrj.SolrClient
add, add, add, add, add, add, add, add, add, add, addBean, addBean, addBean, addBean, addBeans, addBeans, addBeans, addBeans, addBeans, addBeans, commit, commit, commit, commit, commit, commit, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteByQuery, deleteByQuery, deleteByQuery, deleteByQuery, getBinder, getById, getById, getById, getById, getById, getById, getById, getById, optimize, optimize, optimize, optimize, optimize, optimize, ping, ping, query, query, query, query, queryAndStreamResponse, queryAndStreamResponse, queryAndStreamResponse, request, rollback, rollback
-
Field Details
-
REQUEST_NODE_SEPARATOR
- See Also:
-
-
Constructor Details
-
ClusterSolrClient
-
-
Method Details
-
createSolrClients
-
createSolrClient
protected final org.apache.solr.client.solrj.impl.HttpSolrClient createSolrClient(String baseSolrUrl) -
getHttpClient
public org.apache.http.client.HttpClient getHttpClient() -
getNodes
-
getNodeClient
public org.apache.solr.client.solrj.SolrClient getNodeClient(org.apache.solr.client.solrj.SolrClient solrClient, String node) -
request
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 - Specified by:
requestin classorg.apache.solr.client.solrj.SolrClient- Throws:
org.apache.solr.client.solrj.SolrServerExceptionIOException
-
close
public void close()
-