You are here

public function SolrBackendInterface::getDocumentCounts in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrBackendInterface.php \Drupal\search_api_solr\SolrBackendInterface::getDocumentCounts()

Get document counts for this server, in total and per site / index.

Return value

array An associative array of document counts.

Throws

\Drupal\Component\Plugin\Exception\PluginException

\Drupal\search_api\SearchApiException

\Drupal\search_api_solr\SearchApiSolrException

1 method overrides SolrBackendInterface::getDocumentCounts()
SearchApiSolrBackend::getDocumentCounts in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Get document counts for this server, in total and per site / index.

File

src/SolrBackendInterface.php, line 343

Class

SolrBackendInterface
Defines an interface for Solr search backend plugins.

Namespace

Drupal\search_api_solr

Code

public function getDocumentCounts();