Elasticsearch and Lucene document limit Elasticsearch and Lucene document limit elasticsearch elasticsearch

Elasticsearch and Lucene document limit


Yes there is limit to the number of docs per shard of 2 billion, which is a hard lucene limit.

There is a maximum number of documents you can have in a single Lucene index. As of LUCENE-5843, the limit is 2,147,483,519 (= Integer.MAX_VALUE - 128) documents.

You should consider scaling horizontally.