public class SolrServerConfiguration extends Object
SolrServer| Modifier and Type | Class and Description |
|---|---|
class |
SolrServerConfiguration.HttpConfiguration |
| Constructor and Description |
|---|
SolrServerConfiguration(String solrHomePath,
String solrConfigPath,
String coreName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCoreName()
get the default core name to use for the Solr server
|
SolrServerConfiguration.HttpConfiguration |
getHttpConfiguration()
get the
SolrServerConfiguration.HttpConfiguration holding parameters for enabling Solr
server with HTTP bindings |
String |
getSolrConfigPath()
get the name of the main Solr configuration file (solr.xml for multicore
deployments or solrconfig.xml for single core deployments).
|
String |
getSolrHomePath()
get the Solr home path where all the configuration files are stored
|
SolrServerConfiguration |
withHttpConfiguration(String context,
Integer httpPort) |
public SolrServerConfiguration withHttpConfiguration(String context, Integer httpPort)
public String getSolrHomePath()
String representing a path to the Solr home.public String getSolrConfigPath()
String representing a path to the main Solr config file.public String getCoreName()
String representing the core namepublic SolrServerConfiguration.HttpConfiguration getHttpConfiguration()
SolrServerConfiguration.HttpConfiguration holding parameters for enabling Solr
server with HTTP bindingsSolrServerConfiguration.HttpConfiguration or null if not setCopyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.