ES Date Histogram Bucket max item count

I have timeSeries based data.

Im performing a date histogram aggregation with interval '1h' and sorting
the results by "_count". Is it possible to limit the item count in the
bucket so it would only return the 1st one, the item with the maximum count
and not bother about the other ?

Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/29d5a9b7-32a5-4c0b-9d69-84b377770d68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.