EsFacetCountsResult
in package
FinalYes
Result of the ES `terms` aggregation for facet counts.
With fromEs = false (ES off, outage, circuit breaker, incomplete aggregation) the caller
switches to the SQL aggregation; same contract as EsSearchResult.
Table of Contents
Properties
Methods
- __construct() : mixed
- unavailable() : self
Properties
$counts read-only
public
array<string|int, mixed>
$counts
$fromEs read-only
public
bool
$fromEs
Methods
__construct()
public
__construct(array<string, int> $counts, bool $fromEs) : mixed
Parameters
- $counts : array<string, int>
-
bucket value (
<parameterId>:<value>) mapped to the document count - $fromEs : bool
unavailable()
public
static unavailable() : self