Size query performance problems

Hi all,
I have 3 nodes clusters on aws (c4 instances) and 245 docs in my elastic,
when i try to limit the results to 50 using size:50, my performance degraded from 300ms to 2800ms ( without even using search_after or from) , we tried to add from:0 but without success, my logs are empty.

any help will be appreciated ,

response from server , sometimes took value is 2
"took": 1,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0


Can you share the full json output when you are getting this slow response please?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.