You are here

public function SolrConnectorInterface::getContentFromExtractResult in Search API Solr 8.2

Same name and namespace in other branches
  1. 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getContentFromExtractResult()
  2. 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getContentFromExtractResult()
  3. 4.x src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getContentFromExtractResult()

Gets the content from an extract query result.

Parameters

\Solarium\QueryType\Extract\Result $result:

string $filepath:

Return value

string The extracted content as string.

Throws

\Drupal\search_api_solr\SearchApiSolrException

1 method overrides SolrConnectorInterface::getContentFromExtractResult()
SolrConnectorPluginBase::getContentFromExtractResult in src/SolrConnector/SolrConnectorPluginBase.php
Gets the content from an extract query result.

File

src/SolrConnectorInterface.php, line 369

Class

SolrConnectorInterface

Namespace

Drupal\search_api_solr

Code

public function getContentFromExtractResult(ExtractResult $result, $filepath);