# Percolate query - get reason why document was not matched

**URL:** <https://discuss.elastic.co/t/percolate-query-get-reason-why-document-was-not-matched/366186>\
**Category:** Elasticsearch\
**Created:** [September 7, 2024, 9:23am UTC](https://discuss.elastic.co/t/percolate-query-get-reason-why-document-was-not-matched/366186 "2024-09-07T09:23:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alesmenzel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alesmenzel/32/137390_2.png) [@alesmenzel](https://discuss.elastic.co/u/alesmenzel)\
**Post date:** [September 7, 2024, 9:23am UTC](https://discuss.elastic.co/t/percolate-query-get-reason-why-document-was-not-matched/366186/1 "2024-09-07T09:23:30Z")

</div>

Hi,  
I have read through the documentation [Percolate query | Elasticsearch Guide [8.15] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-percolate-query.html) but could not find a way to get the reason why a percolate query would not match given documents, is it somehow possible to get the filter that did not match? e.g. naming the filter and then getting a list of filter names that do not match.
