Elasticsearch [6.8] small index query response time in seconds

Hi folks,
Facing an issue involving a small index of the size 378kb taking around 10s for a read query. We had tried increasing the number of replicas assuming it would help with reads but did not see any noticeable difference.

green open  external_achievements                   RkG3e5uRS_qrgv3_3pDEDg  5  1         71          3    775kb  378.1kb

The following is the query which is being run -

{"size":10000,"query":{"bool":{"must":[{"term":{"goalDefinitionCode":{"value":"hdadSDAds_actASDFGAS_wexy3okjc","boost":1.0}}},{"term":{"recurringFrequency":{"value":"monthly","boost":1.0}}},{"term":{"startDate":{"value":1651343400000,"boost":1.0}}},{"term":{"endDate":{"value":1654021798000,"boost":1.0}}}],"filter":[{"terms":{"userId":["ISAHDHOASD"],"boost":1.0}}],"adjust_pure_negative":true,"boost":1.0}}}}

Can someone help in understanding what could cause this query on a very small index to take more then 10s. We have also tried moving the index to a separate rack of 3 nodes & still the query took the same time.

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