# WRONG QUESTION Filtered query with not indexed field

**URL:** <https://discuss.elastic.co/t/wrong-question-filtered-query-with-not-indexed-field/31538>\
**Category:** Elasticsearch\
**Created:** [October 2, 2015, 12:00pm UTC](https://discuss.elastic.co/t/wrong-question-filtered-query-with-not-indexed-field/31538 "2015-10-02T12:00:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![edeak](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@edeak](https://discuss.elastic.co/u/edeak)\
**Post date:** [October 2, 2015, 12:00pm UTC](https://discuss.elastic.co/t/wrong-question-filtered-query-with-not-indexed-field/31538/1 "2015-10-02T12:00:36Z")

</div>

Hi guys,

I'd like to create a multi\_match query with filter but my filter is not working. I'm trying to apply the filter on a field which is not indexed/analyzed:

POST [http://localhost:9200/myindex/\_search](http://localhost:9200/myindex/_search)  
{ "query" :  
{  
"filtered": {  
"query": {  
"multi\_match": {  
"query": "MYTERM",  
"type": "most\_fields",  
"fields": ["field1", "field2", "field3"]  
}  
},  
"filter" : {  
"range" : {  
"notindexedfield" : {  
"gte" : 1  
}  
}  
}  
}  
}  
}

why this not working? It returns with 0 hits but I **know** that there must be match.

---

<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, 11:47pm UTC](https://discuss.elastic.co/t/wrong-question-filtered-query-with-not-indexed-field/31538/2 "2017-07-05T23:47:03Z")

</div>


