# Named queries that do not filter and do not impact score

**URL:** <https://discuss.elastic.co/t/named-queries-that-do-not-filter-and-do-not-impact-score/52429>\
**Category:** Elasticsearch\
**Created:** [June 10, 2016, 9:18am UTC](https://discuss.elastic.co/t/named-queries-that-do-not-filter-and-do-not-impact-score/52429 "2016-06-10T09:18:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohannad\_Saeed](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@Mohannad\_Saeed](https://discuss.elastic.co/u/Mohannad_Saeed)\
**Post date:** [June 10, 2016, 9:18am UTC](https://discuss.elastic.co/t/named-queries-that-do-not-filter-and-do-not-impact-score/52429/1 "2016-06-10T09:18:28Z")

</div>

Greetings,

I am trying to use some named queries just to check if a term is part of an array field, without really filtering the documents or impacting their scores based on these queries. In other words, this is similar to a script field that will be true if the term exists in the array field or false otherwise.

Is this possible using named queries? or do I need to use something else?

Regards

---

<div class="post-metadata">

**Author:** ![Mohannad\_Saeed](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@Mohannad\_Saeed](https://discuss.elastic.co/u/Mohannad_Saeed)\
**Post date:** [June 16, 2016, 10:10am UTC](https://discuss.elastic.co/t/named-queries-that-do-not-filter-and-do-not-impact-score/52429/2 "2016-06-16T10:10:05Z")

</div>

No answer yet! 😥

---

<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 5, 2017, 10:43pm UTC](https://discuss.elastic.co/t/named-queries-that-do-not-filter-and-do-not-impact-score/52429/3 "2017-07-05T22:43:19Z")

</div>


