CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Result type for aggregations. More...
Public Member Functions | |
__construct ( $name) | |
getSourceFiltering () | |
getFields () | |
Get the fields to load. | |
getHighlightingConfiguration (array $extraHighlightFields) | |
Get the highlighting configuration. | |
transformElasticsearchResult (ElasticaResultSet $resultSet) | |
createEmptyResult () | |
Result type for aggregations.
CirrusSearch\Search\SingleAggResultsType::__construct | ( | $name | ) |
string | $name | Name of aggregation to return |
CirrusSearch\Search\SingleAggResultsType::createEmptyResult | ( | ) |
Implements CirrusSearch\Search\ResultsType.
CirrusSearch\Search\SingleAggResultsType::getFields | ( | ) |
Get the fields to load.
Most of the time we'll use source filtering instead but some fields aren't part of the source.
Implements CirrusSearch\Search\ResultsType.
CirrusSearch\Search\SingleAggResultsType::getHighlightingConfiguration | ( | array | $extraHighlightFields | ) |
Get the highlighting configuration.
array | $extraHighlightFields | configuration for how to highlight regex matches. Empty if regex should be ignored. |
Implements CirrusSearch\Search\ResultsType.
CirrusSearch\Search\SingleAggResultsType::getSourceFiltering | ( | ) |
Implements CirrusSearch\Search\ResultsType.
CirrusSearch\Search\SingleAggResultsType::transformElasticsearchResult | ( | ElasticaResultSet | $resultSet | ) |
ElasticaResultSet | $resultSet |
Implements CirrusSearch\Search\ResultsType.