Terms query not working as expected

Below is terms query with _msearch. But its not giving all result.As of now, it only return result for

4161 even though data exists for 4402 as well.

please look suggest solution.

GET _msearch
{ "index": ["index1", "index2", "index3"]}
{"query": {"terms": {"user_id": [4161,4402] } }}

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