Class SolrClientsWrapper
java.lang.Object
de.hybris.platform.solrfacetsearch.solr.impl.SolrClientsWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable
Container for Solr clients.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes allSolrClientinstances that it has reference to.voidsetIndexClient(CachedSolrClient indexClient) voidsetSearchClient(CachedSolrClient searchClient)
-
Constructor Details
-
SolrClientsWrapper
Default constructor.- Parameters:
solrConfig- - the Solr configuration
-
-
Method Details
-
getConfigName
-
getConfigVersion
-
getSearchClient
-
setSearchClient
-
getIndexClient
-
setIndexClient
-
close
public void close()Closes allSolrClientinstances that it has reference to.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-