public function SolrBackendInterface::getSchemaLanguageStatistics in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrBackendInterface.php \Drupal\search_api_solr\SolrBackendInterface::getSchemaLanguageStatistics()
Gets schema language statistics for the multilingual Solr server.
Parameters
\Solarium\Core\Client\Endpoint|null $endpoint: If not set, the statistics for the server's default endpoint will be returned.
Return value
array Stats as associative array keyed by language IDs. The value is the language id of the corresponding field type existing on the server's current schema or FALSE.
Throws
\Drupal\Component\Plugin\Exception\PluginException
\Drupal\search_api\SearchApiException
\Drupal\search_api_solr\SearchApiSolrException
1 method overrides SolrBackendInterface::getSchemaLanguageStatistics()
- SearchApiSolrBackend::getSchemaLanguageStatistics in src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php - Gets schema language statistics for the multilingual Solr server.
File
- src/
SolrBackendInterface.php, line 331
Class
- SolrBackendInterface
- Defines an interface for Solr search backend plugins.
Namespace
Drupal\search_api_solrCode
public function getSchemaLanguageStatistics(?Endpoint $endpoint = NULL);