What is the max limit number of ids?

I'm trying to use ids query in Elasticsearch and wondering if there is any maximum limit for number of values?
If there is, what is it?
Although I found some articles like this,

I'm not quite sure if it's correct.

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