# Is it possible to do a search (percolator) from ingest node?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-do-a-search-percolator-from-ingest-node/78314>\
**Category:** Elasticsearch\
**Created:** [March 13, 2017, 8:55am UTC](https://discuss.elastic.co/t/is-it-possible-to-do-a-search-percolator-from-ingest-node/78314 "2017-03-13T08:55:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick-george](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick-george/32/23318_2.png) [@nick-george](https://discuss.elastic.co/u/nick-george)\
**Post date:** [March 13, 2017, 8:55am UTC](https://discuss.elastic.co/t/is-it-possible-to-do-a-search-percolator-from-ingest-node/78314/1 "2017-03-13T08:55:34Z")

</div>

Hi,

ES version 5.2.

Is it possible to do a search query from ingest node? I want to do a percolator query as I'm ingesting a document and potentially supplement the ingested document with results from the query. I thought it might be possible to do from the script processor with Painless, but can't see anything in the painless docs for doing a search query.

I am currently using Logstash to achieve the same goal, but figure it would be far more efficient to do within ES, especially if using Elastic Cloud.

Cheers,  
Nick

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 13, 2017, 3:01pm UTC](https://discuss.elastic.co/t/is-it-possible-to-do-a-search-percolator-from-ingest-node/78314/2 "2017-03-13T15:01:08Z")

</div>

No it's not possible.

See

> <https://github.com/elastic/elasticsearch/pull/20340>

---

<div class="post-metadata">

**Author:** ![nick-george](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick-george/32/23318_2.png) [@nick-george](https://discuss.elastic.co/u/nick-george)\
**Post date:** [March 13, 2017, 3:32pm UTC](https://discuss.elastic.co/t/is-it-possible-to-do-a-search-percolator-from-ingest-node/78314/3 "2017-03-13T15:32:41Z")

</div>

Thanks for that David,

A shame the others didn't come to agree with you on the need for this kind of thing! I would have thought the percolation use case would be an ideal fit for ingest node.

I'm a little concerned that my current solution of doing this in Logstash (which I assume would have all the same issues as those brought up in the PR discussion) will become a bottleneck for document ingest.

All the best,  
Nick

---

<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:** [April 10, 2017, 3:32pm UTC](https://discuss.elastic.co/t/is-it-possible-to-do-a-search-percolator-from-ingest-node/78314/4 "2017-04-10T15:32:50Z")

</div>

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