org.broadleafcommerce.core.search.service.solr
Class SolrContext
java.lang.Object
org.broadleafcommerce.core.search.service.solr.SolrContext
public class SolrContext
- extends Object
Provides a class that will statically hold the Solr server
- Author:
- Andre Azzolini (apazzolini)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRIMARY
public static final String PRIMARY
- See Also:
- Constant Field Values
REINDEX
public static final String REINDEX
- See Also:
- Constant Field Values
primaryServer
protected static org.apache.solr.client.solrj.SolrServer primaryServer
reindexServer
protected static org.apache.solr.client.solrj.SolrServer reindexServer
SolrContext
public SolrContext()
setPrimaryServer
public static void setPrimaryServer(org.apache.solr.client.solrj.SolrServer server)
setReindexServer
public static void setReindexServer(org.apache.solr.client.solrj.SolrServer server)
getServer
public static org.apache.solr.client.solrj.SolrServer getServer()
getReindexServer
public static org.apache.solr.client.solrj.SolrServer getReindexServer()
isSingleCoreMode
public static boolean isSingleCoreMode()
Copyright © 2013. All Rights Reserved.