# Custom\_filters\_score "No filter registered for \[match\]"

**URL:** <https://discuss.elastic.co/t/custom-filters-score-no-filter-registered-for-match/14534>\
**Category:** Elasticsearch\
**Created:** [November 22, 2013, 5:34am UTC](https://discuss.elastic.co/t/custom-filters-score-no-filter-registered-for-match/14534 "2013-11-22T05:34:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul1/32/46819_2.png) [@paul1](https://discuss.elastic.co/u/paul1)\
**Post date:** [November 22, 2013, 5:34am UTC](https://discuss.elastic.co/t/custom-filters-score-no-filter-registered-for-match/14534/1 "2013-11-22T05:34:23Z")

</div>

When i use "term" the query works but when i change it to "match" it does  
not work but rather throws a exception. "No filter registered for [match]"  
{  
"query": {  
"custom\_filters\_score": {  
"query": {  
"match\_all": {}  
},  
"filters": [  
{  
"filter": {  
"range": {  
"tution": {  
"from": 10000,  
"to": 20000  
}  
}  
},  
"boost": "3"  
},  
{  
"filter": {  
"term": {  
"programs": "computer"  
}  
},  
"boost": "2"  
},  
{  
"filter": {  
"term": {  
"coed": "Yes"  
}  
},  
"boost": "1"  
}  
],  
"score\_mode": "first"  
}  
}  
}

--  
Paul

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 22, 2013, 5:59am UTC](https://discuss.elastic.co/t/custom-filters-score-no-filter-registered-for-match/14534/2 "2013-11-22T05:59:02Z")

</div>

Yes there is no Match filter but Match query.

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-filters.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-filters.html)  
[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-queries.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-queries.html)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 22 nov. 2013 à 06:34, paul [avinashpaul85@gmail.com](mailto:avinashpaul85@gmail.com) a écrit :

When i use "term" the query works but when i change it to "match" it does not work but rather throws a exception. "No filter registered for [match]"  
{  
"query": {  
"custom\_filters\_score": {  
"query": {  
"match\_all": {}  
},  
"filters": [  
{  
"filter": {  
"range": {  
"tution": {  
"from": 10000,  
"to": 20000  
}  
}  
},  
"boost": "3"  
},  
{  
"filter": {  
"term": {  
"programs": "computer"  
}  
},  
"boost": "2"  
},  
{  
"filter": {  
"term": {  
"coed": "Yes"  
}  
},  
"boost": "1"  
}  
],  
"score\_mode": "first"  
}  
}  
}

## -- Paul

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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:05am UTC](https://discuss.elastic.co/t/custom-filters-score-no-filter-registered-for-match/14534/3 "2017-07-06T02:05:29Z")

</div>


