public class SolrLocator extends Object
DocumentLoader
.Modifier | Constructor and Description |
---|---|
|
SolrLocator(com.typesafe.config.Config config,
MorphlineContext context) |
protected |
SolrLocator(MorphlineContext context) |
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize() |
String |
getCollectionName() |
org.apache.solr.schema.IndexSchema |
getIndexSchema() |
DocumentLoader |
getLoader() |
String |
getServerUrl() |
String |
getSolrHomeDir() |
org.apache.solr.client.solrj.SolrServer |
getSolrServer() |
String |
getZkHost() |
void |
setBatchSize(int batchSize) |
void |
setCollectionName(String collectionName) |
void |
setServerUrl(String solrUrl) |
void |
setSolrHomeDir(String solrHomeDir) |
void |
setZkHost(String zkHost) |
com.typesafe.config.Config |
toConfig(String key) |
String |
toString() |
protected SolrLocator(MorphlineContext context)
public SolrLocator(com.typesafe.config.Config config, MorphlineContext context)
public org.apache.solr.client.solrj.SolrServer getSolrServer()
public DocumentLoader getLoader()
public org.apache.solr.schema.IndexSchema getIndexSchema()
public com.typesafe.config.Config toConfig(String key)
public String getCollectionName()
public void setCollectionName(String collectionName)
public String getZkHost()
public void setZkHost(String zkHost)
public String getSolrHomeDir()
public void setSolrHomeDir(String solrHomeDir)
public String getServerUrl()
public void setServerUrl(String solrUrl)
public int getBatchSize()
public void setBatchSize(int batchSize)
Copyright © 2013–2014. All rights reserved.