public class EmbeddedSolrServerConfiguration extends SolrServerConfiguration<EmbeddedSolrServerProvider>
SolrServer| Modifier and Type | Class and Description |
|---|---|
class |
EmbeddedSolrServerConfiguration.HttpConfiguration |
| Constructor and Description |
|---|
EmbeddedSolrServerConfiguration(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
|
EmbeddedSolrServerConfiguration.HttpConfiguration |
getHttpConfiguration()
get the
EmbeddedSolrServerConfiguration.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
|
EmbeddedSolrServerConfiguration |
withHttpConfiguration(String context,
Integer httpPort) |
getProvider, getTypepublic EmbeddedSolrServerConfiguration 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 EmbeddedSolrServerConfiguration.HttpConfiguration getHttpConfiguration()
EmbeddedSolrServerConfiguration.HttpConfiguration holding parameters for enabling Solr
server with HTTP bindingsEmbeddedSolrServerConfiguration.HttpConfiguration or null if not setCopyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.