# Does ElasticSearch match against all percolators by default

**URL:** <https://discuss.elastic.co/t/does-elasticsearch-match-against-all-percolators-by-default/16928>\
**Category:** Elasticsearch\
**Created:** [April 10, 2014, 3:20pm UTC](https://discuss.elastic.co/t/does-elasticsearch-match-against-all-percolators-by-default/16928 "2014-04-10T15:20:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eliezer\_Shindler](https://avatars.discourse-cdn.com/v4/letter/e/5fc32e/32.png) [@Eliezer\_Shindler](https://discuss.elastic.co/u/Eliezer_Shindler)\
**Post date:** [April 10, 2014, 3:20pm UTC](https://discuss.elastic.co/t/does-elasticsearch-match-against-all-percolators-by-default/16928/1 "2014-04-10T15:20:02Z")

</div>

Hi,

Currently I have used:

_public_ PercolateRequestBuilder _setPercolateQuery_\*(_QueryBuilder queryBuilder_)\* _{_  
sourceBuilder\*()._setQueryBuilder_(_queryBuilder_);\*  
_return_ _this_\*;\*  
_}_

With a 'match all' query builder as the paramater. Does ES do this by default or does one need to explicitly do this, as I have done.

Thanks,

Eli

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9222b15b-d271-4c7e-865f-29fc8b215d36%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9222b15b-d271-4c7e-865f-29fc8b215d36%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:36am UTC](https://discuss.elastic.co/t/does-elasticsearch-match-against-all-percolators-by-default/16928/2 "2017-07-06T01:36:52Z")

</div>


