public function SolrConnectorPluginBase::defaultConfiguration in Search API Solr 8.3
Same name and namespace in other branches
- 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()
- 4.x 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 ConfigurablePluginBase::defaultConfiguration
1 call to SolrConnectorPluginBase::defaultConfiguration()
- StandardSolrCloudConnector::defaultConfiguration in src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php - Gets default configuration for this plugin.
1 method overrides SolrConnectorPluginBase::defaultConfiguration()
- StandardSolrCloudConnector::defaultConfiguration in src/
Plugin/ SolrConnector/ StandardSolrCloudConnector.php - Gets default configuration for this plugin.
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 92
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,
'solr_install_dir' => '',
];
}