Package com.common.platform.solr.client.factory

Examples of com.common.platform.solr.client.factory.SolrClientHolder


    /*
     * @see com.apabi.solr.client.search.SearchService#getSolrClient()
     */
    @Override
    public SolrServer getSolrClient() {
        SolrClientHolder solrClientHolder = SolrClientFactory.getSolrClientHolderByStoreName(storeName);
        if(null == solrClientHolder || null == solrClientHolder.getSolrClient() ){
            solrClientHolder = SolrClientFactory.getSolrClientHolderByStoreName(SolrClientFactory.DEFAULT_STORE_NAME);
        }
       
        return solrClientHolder.getSolrClient();
    }
View Full Code Here

TOP

Related Classes of com.common.platform.solr.client.factory.SolrClientHolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.