-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Want to perform aggregation type: date_histogram
Describe the solution you'd like
Looks like only rawSearch() can perform a "date_histogram" aggregation. However, Bridge::processSearchRaw() filters the result using _sanitizeSearchResponse().
Describe alternatives you've considered
Manually changed Bridge::processSearchRaw() to return the aggregations instead.
Additional context
if (! empty($process['aggregations'])) {
$meta['timed_out'] = $process['timed_out'];
$meta['total'] = $process['hits']['total']['value'] ?? 0;
$meta['max_score'] = $process['hits']['max_score'] ?? 0;
return $this->_return($process['aggregations'], $meta, $params, $this->_queryTag(__FUNCTION__));
}Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request