Support Top Hits Aggregation for Elasticsearch #56254
Replies: 10 comments
-
Here's the docs: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-top-hits-aggregation.html |
Beta Was this translation helpful? Give feedback.
-
Any news about this? |
Beta Was this translation helpful? Give feedback.
-
+1 for this. I'd want the top_hit aggregation to get the latest document. Is there any other option? |
Beta Was this translation helpful? Give feedback.
-
+1. Use case: I have tried some alternatives, which do not work for me (but might be of inspiration to others arriving here):
|
Beta Was this translation helpful? Give feedback.
-
+1 I need this for the same use case as @fkellner |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Hello, as you may have heard, we are transitioning away from using discussions to discuss feature requests. We are migrating this discussion to an issue and closing the discussion. The issue is #82963. Feel free to continue the discussion around this there. Thank you! |
Beta Was this translation helpful? Give feedback.
-
What would you like to be added:
Enable top_hits aggregation in the Elasticsearch queries
Why is this needed:
Currently, there is no way to retrieve the string fields as a metric. Most of the metrics only work for numeric fields. Top_hits will enable working with string fields.
Beta Was this translation helpful? Give feedback.
All reactions