Get text fields length with script

And in elasticsearch in one time get query with size=1,500,000 proccess take a long time on elasticsearch.

You should never ever do that.

Use the scroll API to extract your data per smaller consistent pages like 10000 may be. Sort by _uid if you want to get the faster response.

1 Like