We are using Elasticsearch to get the top hits based on large volumes of data using bucket aggregation. But we see there is default limit in max_result_window attribute of initial 10000 records which will be processed. We increase the size to 5000000. But looks like all records are not getting processed and returning first 10000 hits. As per requirement , we need to get top 20 hits from the give set of records based on aggregation results. Please let me know if there is any feasible solution.
Waiting for your reply.