# Percolator issue, matching queries

**URL:** https://discuss.elastic.co/t/percolator-issue-matching-queries/320884
**Category:** Elasticsearch
**Created:** [December 9, 2022, 1:02pm UTC](https://discuss.elastic.co/t/percolator-issue-matching-queries/320884 "2022-12-09T13:02:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Mahesh\_Hegde](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahesh_hegde/32/112085_2.png) [@Mahesh\_Hegde](https://discuss.elastic.co/u/Mahesh_Hegde)
#### Post date: [December 9, 2022, 1:02pm UTC](https://discuss.elastic.co/t/percolator-issue-matching-queries/320884/1 "2022-12-09T13:02:43Z")

</div>

Hi Team,

Issue module - percolator  
Issue Version - 8.3 & 8.4

Configuration  
Number of shards of percolator index - 2  
Total documents indexed - 78000 approximate  
Index size = 30MB

Details -  
We have about 78000 queries indexed and when we percolate document against those, we are not getting all the matching queries. For a particular document which is suppose to match about 1000 queries, we are getting only 500 queries. But once we reduce the total number of queries indexed to 30000 queries, we get all matching queries that the document satisfies. Issue is reproducible in elasticsearch 8.3,8.4. But in older version of elasticsearch that is 7.15.2 its giving all the matching queries. Is there any settings introduced in 8.x that we are missing?

Please let me know if you need additional details.

---

<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: [January 6, 2023, 1:02pm UTC](https://discuss.elastic.co/t/percolator-issue-matching-queries/320884/2 "2023-01-06T13:02:56Z")

</div>

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