public class SolrContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PRIMARY |
protected static org.apache.solr.client.solrj.SolrServer |
primaryServer |
static String |
REINDEX |
protected static org.apache.solr.client.solrj.SolrServer |
reindexServer |
| Constructor and Description |
|---|
SolrContext() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.solr.client.solrj.SolrServer |
getReindexServer() |
static org.apache.solr.client.solrj.SolrServer |
getServer() |
static boolean |
isSingleCoreMode() |
static void |
setPrimaryServer(org.apache.solr.client.solrj.SolrServer server) |
static void |
setReindexServer(org.apache.solr.client.solrj.SolrServer server) |
public static final String PRIMARY
public static final String REINDEX
protected static org.apache.solr.client.solrj.SolrServer primaryServer
protected static org.apache.solr.client.solrj.SolrServer reindexServer
public static void setPrimaryServer(org.apache.solr.client.solrj.SolrServer server)
public static void setReindexServer(org.apache.solr.client.solrj.SolrServer server)
public static org.apache.solr.client.solrj.SolrServer getServer()
public static org.apache.solr.client.solrj.SolrServer getReindexServer()
public static boolean isSingleCoreMode()
Copyright © 2014. All Rights Reserved.