# Using term queries with two different script based custom filter score query

**URL:** <https://discuss.elastic.co/t/using-term-queries-with-two-different-script-based-custom-filter-score-query/13519>\
**Category:** Elasticsearch\
**Created:** [September 9, 2013, 3:00pm UTC](https://discuss.elastic.co/t/using-term-queries-with-two-different-script-based-custom-filter-score-query/13519 "2013-09-09T15:00:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathursharp](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@mathursharp](https://discuss.elastic.co/u/mathursharp)\
**Post date:** [September 9, 2013, 3:00pm UTC](https://discuss.elastic.co/t/using-term-queries-with-two-different-script-based-custom-filter-score-query/13519/1 "2013-09-09T15:00:21Z")

</div>

I need to to club a set of term queries with two different script based custom filter score query.  
I have done this clubbing of queries and filters by using the bool filter but when i run this, i get results with score =1.

I am not sure whether this approach is correct or not.  
Also i am not able to get why the score is 1.

Please help.

Thanks in advance.

---

<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, 2:17am UTC](https://discuss.elastic.co/t/using-term-queries-with-two-different-script-based-custom-filter-score-query/13519/2 "2017-07-06T02:17:29Z")

</div>


