Faceted Search: Other aggregations than "count"?
See original GitHub issueWhile using the new Faceted Search feature, I saw that it currently only supports counting the items that were grouped. Are there plans for supporting other kinds of aggregations like SUM or something like that?
My use case is that in addition to counting items in specific buckets (= facets), I might also have to sum up the values of a specific field in my entity, e.g. an amount
field - similar to how I would use SUM(amount)
together with GROUP BY accountID
in SQL.
Please let me know if you need more information about my use case.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to handle facet filtering and corresponding ...
The CATEGORIES facet will have count against Frieght and other counts will be zero. Though the COLORS facet will have expected counts. To...
Read more >Paging with count - Performance $facet vs. simple query
The first implementation is by using $facet, and the second is by using a simple query and performing two calls (one for the...
Read more >Faceted Classification
In most faceted search scenarios, you will want to understand a collection by multiple dimensions at once (price & rating in this case)....
Read more >How to build faceted search with facet counters using ...
For the counters we can use the built-in aggregations from Elasticsearch. Each of our 2 facets are stored as a single field in...
Read more >Elasticsearch Part 7: Aggregations (Faceted Search) - YouTube
Oozou Jobs: http://bit.ly/oozou-jobsIn this episode we show you how you can begin implementing aggregates ( faceted search ) in your ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
in principal nothing is holding this back. The one thing currently missing is the information after what to “summ up”. Could be a parameter to the request, or could be something predefined with annotations.
Nothing for ES so far. I’ve actually been playing around with Redisearch, this worked quite well with the faceted search… ES should work in a similar way, I assume.