# Matching documents with subset of queries in Percolation Index

**URL:** https://discuss.elastic.co/t/matching-documents-with-subset-of-queries-in-percolation-index/322019
**Category:** Elasticsearch
**Created:** [December 27, 2022, 3:41am UTC](https://discuss.elastic.co/t/matching-documents-with-subset-of-queries-in-percolation-index/322019 "2022-12-27T03:41:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aneeshkoya](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@aneeshkoya](https://discuss.elastic.co/u/aneeshkoya)
#### Post date: [December 27, 2022, 3:41am UTC](https://discuss.elastic.co/t/matching-documents-with-subset-of-queries-in-percolation-index/322019/1 "2022-12-27T03:41:12Z")

</div>

Each individual document is matched against all the queries stored in the associated percolation index. This can affect the performance of the percolate queries where documents need to be matched with only a subset of queries stored. Is there any way to allow matching documents with a subset of queries in percolation index?

---

<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 24, 2023, 3:42am UTC](https://discuss.elastic.co/t/matching-documents-with-subset-of-queries-in-percolation-index/322019/2 "2023-01-24T03:42:09Z")

</div>

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