public function SolrConnectorPluginBase::defaultConfiguration in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::defaultConfiguration()
- 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::defaultConfiguration()
- 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
2 calls to SolrConnectorPluginBase::defaultConfiguration()
- Solr36Connector::defaultConfiguration in modules/
search_api_solr_legacy/ src/ Plugin/ SolrConnector/ Solr36Connector.php - Gets default configuration for this plugin.
- StandardSolrCloudConnector::defaultConfiguration in src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php - Gets default configuration for this plugin.
2 methods override SolrConnectorPluginBase::defaultConfiguration()
- Solr36Connector::defaultConfiguration in modules/
search_api_solr_legacy/ src/ Plugin/ SolrConnector/ Solr36Connector.php - Gets default configuration for this plugin.
- StandardSolrCloudConnector::defaultConfiguration in src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php - Gets default configuration for this plugin.
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 91
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function defaultConfiguration() {
return [
'scheme' => 'http',
'host' => 'localhost',
'port' => 8983,
'path' => '/',
'core' => '',
'timeout' => 5,
self::INDEX_TIMEOUT => 5,
self::OPTIMIZE_TIMEOUT => 10,
self::FINALIZE_TIMEOUT => 30,
'solr_version' => '',
'http_method' => 'AUTO',
'commit_within' => 1000,
'jmx' => FALSE,
'jts' => FALSE,
'solr_install_dir' => '',
'skip_schema_check' => FALSE,
];
}