# Has support for percolating multiple EXISTING documents been added?

**URL:** <https://discuss.elastic.co/t/has-support-for-percolating-multiple-existing-documents-been-added/314450>\
**Category:** Elasticsearch\
**Created:** [September 14, 2022, 6:47pm UTC](https://discuss.elastic.co/t/has-support-for-percolating-multiple-existing-documents-been-added/314450 "2022-09-14T18:47:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedreg](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@fedreg](https://discuss.elastic.co/u/fedreg)\
**Post date:** [September 14, 2022, 6:47pm UTC](https://discuss.elastic.co/t/has-support-for-percolating-multiple-existing-documents-been-added/314450/1 "2022-09-14T18:47:03Z")

</div>

Hello!

Question about Percolator Queries in ES 8.x...

Wondering if the ability to query multiple EXISTING docs has been added to the API?

I know I can query multiple raw documents such as

```auto
GET /my-index-000001/_search
{
  "query": {
    "percolate": {
      "field": "query",
      "documents": [ 
        {
          "message": "bonsai tree"
        },
        {
          "message": "new tree"
        },
        {
          "message": "the office"
        },
        {
          "message": "office tree"
        }
      ]
    }
  }
}

```

or an individual, already indexed document:

```auto
GET /my-index-000001/_search
{
  "query": {
    "percolate": {
      "field": "query",
      "index": "my-index-000001",
      "id": "2",
      "version": 1 
    }
  }
}

```

but has support been added to specify multiple ALREADY INDEXED documents in a single request?

I see a closed github ticket from 2018 requesting this feature. [Add support for specifying multiple ids in the percolate query · Issue #28573 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/issues/28573)

Has this been implemented or are there any workarounds? ..I couldn't find any.

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 15, 2022, 4:35am UTC](https://discuss.elastic.co/t/has-support-for-percolating-multiple-existing-documents-been-added/314450/2 "2022-09-15T04:35:23Z")

</div>

Welcome to our community! 😃

There's no way to do this no, sorry!

---

<div class="post-metadata">

**Author:** ![fedreg](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@fedreg](https://discuss.elastic.co/u/fedreg)\
**Post date:** [September 15, 2022, 1:52pm UTC](https://discuss.elastic.co/t/has-support-for-percolating-multiple-existing-documents-been-added/314450/3 "2022-09-15T13:52:49Z")

</div>

Thanks Mark,

Is there any plan to implement this in the near future? Any reason why this isn't done?

---

<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:** [October 13, 2022, 1:53pm UTC](https://discuss.elastic.co/t/has-support-for-percolating-multiple-existing-documents-been-added/314450/4 "2022-10-13T13:53:36Z")

</div>

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