# Dont want to match on stop words

**URL:** <https://discuss.elastic.co/t/dont-want-to-match-on-stop-words/23445>\
**Category:** Elasticsearch\
**Created:** [April 28, 2015, 5:37pm UTC](https://discuss.elastic.co/t/dont-want-to-match-on-stop-words/23445 "2015-04-28T17:37:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jim\_ross](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@jim\_ross](https://discuss.elastic.co/u/jim_ross)\
**Post date:** [April 28, 2015, 5:37pm UTC](https://discuss.elastic.co/t/dont-want-to-match-on-stop-words/23445/1 "2015-04-28T17:37:23Z")

</div>

Got an index with about a thousand movies names. If I search for a movie  
that doesn't yet exist in the index, say "The Avengers: Age of Ultron", it  
will come back with matches for things like "Sponge Bob: The Movie",  
presumably because it matches on the word "the" even though its is  
completely irrelevant in this case and I do NOT want to show these as  
results, looks dumb!. I don't want to to completely eliminate stop words  
either since a movie name like "Her" should still be valid and find a  
match. I tried using cutoff\_frequency = 0.001 but doesn't make any  
difference here.  
My query is like:  
"query": {  
"filtered": {  
"query": {  
"match": {  
"movie\_name": {  
"query": "believe",  
"cutoff\_frequency": 0.01  
}  
}  
}  
}  
}  
An ideas on the best strategy here? is there way to specify that a minimum  
percentage of words must match?

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7dc1fd6c-9e97-49f4-aa7f-2e328649804f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7dc1fd6c-9e97-49f4-aa7f-2e328649804f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:17am UTC](https://discuss.elastic.co/t/dont-want-to-match-on-stop-words/23445/2 "2017-07-06T00:17:19Z")

</div>


