Max query length allowed in elasticsearch

Hi there,
I need to send a large bunch of ids in terms query, and i tried
with approx 2000 guids, but I found that the data is not being posted to
elasticseach. Json array was empty. Is there any limit to max count of
values in terms query??and is there any config setting that can increase
the max query length for terms query.

I just tried to find out on web if its the json_encode function that does
not support such a large array size to encode, but its not the case, so
second thing that came to my mind is if elasticsearch terms query supports
this or not??

Any help or guidance will be highly appreciated.

Narinder Kaur

1 Like