public class SolrServerConfigurationImpl extends BaseServerConfigurationImpl implements SolrServerConfiguration
[SolrServer] ; contextPath = "/solr" ; host = "0.0.0.0" ; port = 8983 ; warPath = "./webapps/solr.war" ; masterUrl = "http://localhost:8983/solr/" ; slave = false
Modifier and Type | Class and Description |
---|---|
static class |
SolrServerConfigurationImpl.ConfigurationProperty |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
SOLRSERVER_CONTEXTPATH_DEFAULT
value = "/solr"
|
private static java.lang.String |
SOLRSERVER_MASTERURL_DEFAULT
value = "http://localhost:8983/solr/"
|
private static int |
SOLRSERVER_PORT_DEFAULT
value = 8983
|
private static java.lang.String |
SOLRSERVER_REQUESTLOGCONFIGFILENAME_DEFAULT
value = "logback-solr-access.xml"
|
private static boolean |
SOLRSERVER_SLAVE_DEFAULT
value = false
|
private static java.lang.String |
SOLRSERVER_WARPATH_DEFAULT
value = "./webapps/solr.war"
|
config
Constructor and Description |
---|
SolrServerConfigurationImpl(org.apache.commons.configuration.Configuration config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContextPath() |
protected java.lang.String |
getHost() |
java.lang.String |
getMasterUrl() |
int |
getPort() |
protected java.lang.String |
getRequestLogConfigFilenameDefault() |
java.lang.String |
getResourceBase() |
java.lang.String |
getWarPath() |
private boolean |
isSlave() |
private void |
setMasterSlaveSystemProperties() |
getDirectoriesListed, getGracefullShutdownInMillis, getInetSocketAddress, getPathSpec, getRequestLogConfigFilename, getSendDateHeader, getStopAtShutdown, getURI, isRequestLoggerEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDirectoriesListed, getGracefullShutdownInMillis, getInetSocketAddress, getPathSpec, getRequestLogConfigFilename, getSendDateHeader, getStopAtShutdown, getURI, isRequestLoggerEnabled
private static final java.lang.String SOLRSERVER_CONTEXTPATH_DEFAULT
private static final int SOLRSERVER_PORT_DEFAULT
private static final java.lang.String SOLRSERVER_WARPATH_DEFAULT
private static final java.lang.String SOLRSERVER_MASTERURL_DEFAULT
private static final boolean SOLRSERVER_SLAVE_DEFAULT
private static final java.lang.String SOLRSERVER_REQUESTLOGCONFIGFILENAME_DEFAULT
@Inject public SolrServerConfigurationImpl(org.apache.commons.configuration.Configuration config)
protected java.lang.String getRequestLogConfigFilenameDefault()
getRequestLogConfigFilenameDefault
in class BaseServerConfigurationImpl
private void setMasterSlaveSystemProperties()
private boolean isSlave()
protected java.lang.String getHost()
getHost
in class BaseServerConfigurationImpl
public int getPort()
getPort
in interface ServerConfiguration
public java.lang.String getContextPath()
getContextPath
in interface ServerConfiguration
public java.lang.String getWarPath()
getWarPath
in interface SolrServerConfiguration
public java.lang.String getMasterUrl()
getMasterUrl
in interface SolrServerConfiguration
public java.lang.String getResourceBase()
getResourceBase
in interface ServerConfiguration