Skip to content

Commit

Permalink
fixup! EZP-32110: Access additional search result data from Pagefanta…
Browse files Browse the repository at this point in the history
… adapters
  • Loading branch information
adamwojs committed Dec 20, 2020
1 parent cf1c4da commit 4e258d4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions eZ/Publish/Core/Pagination/Pagerfanta/SearchResultAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,35 +20,27 @@ interface SearchResultAdapter extends AdapterInterface
* Get results of aggregations associated with search query.
*
* Generates addition query if called before AdapterInterface::getSlice or AdapterInterface::getNbResults.
*
* @return \eZ\Publish\API\Repository\Values\Content\Search\AggregationResultCollection
*/
public function getAggregations(): AggregationResultCollection;

/**
* Get the duration of the search processing for current results slice (in s).
*
* Returns null if called before AdapterInterface::getSlice.
*
* @return float|null
*/
public function getTime(): ?float;

/**
* Indicates if the search has timed out for current results slice.
*
* Returns null if called before AdapterInterface::getSlice.
*
* @return bool|null
*/
public function getTimedOut(): ?bool;

/**
* Return the maximum score or `null` if query wasn't executed.
*
* Returns null if called before AdapterInterface::getSlice.
*
* @return float|null
*/
public function getMaxScore(): ?float;
}

0 comments on commit 4e258d4

Please sign in to comment.