# What is the max limit number of ids?

**URL:** <https://discuss.elastic.co/t/what-is-the-max-limit-number-of-ids/182545>\
**Category:** Elasticsearch\
**Created:** [May 24, 2019, 3:18am UTC](https://discuss.elastic.co/t/what-is-the-max-limit-number-of-ids/182545 "2019-05-24T03:18:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![k1832](https://avatars.discourse-cdn.com/v4/letter/k/bbe5ce/32.png) [@k1832](https://discuss.elastic.co/u/k1832)\
**Post date:** [May 24, 2019, 3:18am UTC](https://discuss.elastic.co/t/what-is-the-max-limit-number-of-ids/182545/1 "2019-05-24T03:18:44Z")

</div>

Hi.  
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,

> <https://stackoverflow.com/questions/26642369/max-limit-on-the-number-of-values-i-can-specify-in-the-ids-filter-or-generally-q>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 21, 2019, 3:19am UTC](https://discuss.elastic.co/t/what-is-the-max-limit-number-of-ids/182545/2 "2019-06-21T03:19:00Z")

</div>

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