Active
Project:
Search API Elasticsearch
Version:
7.x-1.0-alpha7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2015 at 20:16 UTC
Updated:
15 Jun 2015 at 21:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedYes, we plan on supporting this. I may be able to get to it in the next couple of weeks, but I'm not positive.
Comment #2
mathieuhelie commentedWe're going to be building a series of sites requiring aggregation features over the coming months. If you detail the technical architecture of the feature, we can get development started on it and send pull requests.
Right now we're doing a patch that adds an 'elasticsearch_aggregations' key to the search results in parseSearchResponse, which is a straight call to $response->getAggregations() with no processing.
That's enough to build on the search_api query results for the remainder of our features. Still, if we can pull some weight, we'd be happy to.
Comment #3
mathieuhelie commentedAttaching a small patch that adds aggregations to Search API results (provided they were added to the Elastica Query through the alter hook).