public function SolrConnectorPluginBase::defaultConfiguration in Search API Solr 8
Same name and namespace in other branches
- 8.3 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()
- BasicAuthSolrConnector::defaultConfiguration in src/
Plugin/ SolrConnector/ BasicAuthSolrConnector.php - Gets default configuration for this plugin.
1 method overrides SolrConnectorPluginBase::defaultConfiguration()
- BasicAuthSolrConnector::defaultConfiguration in src/
Plugin/ SolrConnector/ BasicAuthSolrConnector.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' => '/solr',
'core' => '',
'timeout' => 5,
'index_timeout' => 5,
'optimize_timeout' => 10,
'solr_version' => '',
'http_method' => 'AUTO',
'commit_within' => 1000,
];
}