# How to use min\_score parameter in ES percolator query?

**URL:** https://discuss.elastic.co/t/how-to-use-min-score-parameter-in-es-percolator-query/320845
**Category:** Elasticsearch
**Created:** [December 9, 2022, 2:18am UTC](https://discuss.elastic.co/t/how-to-use-min-score-parameter-in-es-percolator-query/320845 "2022-12-09T02:18:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![aneeshkoya](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@aneeshkoya](https://discuss.elastic.co/u/aneeshkoya)
#### Post date: [December 9, 2022, 2:18am UTC](https://discuss.elastic.co/t/how-to-use-min-score-parameter-in-es-percolator-query/320845/1 "2022-12-09T02:18:47Z")

</div>

Hi all.

My case scenario is such that when the documents are percolated against the stored queries, only those queries that have a score greater than a threshold give a hit for the respective document. I tried min\_score parameter in stored queries, but it doesn't work. Is there any other method to address my use case?

---

<div class="post-metadata">

### Author: ![Vijaykumar\_Deshmukh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vijaykumar_deshmukh1/32/112786_2.png) [@Vijaykumar\_Deshmukh1](https://discuss.elastic.co/u/Vijaykumar_Deshmukh1)
#### Post date: [December 9, 2022, 5:50am UTC](https://discuss.elastic.co/t/how-to-use-min-score-parameter-in-es-percolator-query/320845/2 "2022-12-09T05:50:17Z")

</div>

> **[Search API | Elasticsearch Guide \[7.17\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/search-search.html#search-api-min-score)**

check this

---

<div class="post-metadata">

### Author: ![aneeshkoya](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@aneeshkoya](https://discuss.elastic.co/u/aneeshkoya)
#### Post date: [December 9, 2022, 6:28am UTC](https://discuss.elastic.co/t/how-to-use-min-score-parameter-in-es-percolator-query/320845/3 "2022-12-09T06:28:20Z")

</div>

Thank you for your response. It is possible to give **min\_score** in search request. But it will not serve the purpose as the use case has different min\_score for each stored queries. When a document is percolated against the stored queries, hit should be only for those queries which has the score greater than a threshold score set for each queries. I hope you understood my use case.

---

<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: [January 6, 2023, 6:29am UTC](https://discuss.elastic.co/t/how-to-use-min-score-parameter-in-es-percolator-query/320845/4 "2023-01-06T06:29:04Z")

</div>

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