# Search return exact matches

**URL:** <https://discuss.elastic.co/t/search-return-exact-matches/10619>\
**Category:** Elasticsearch\
**Created:** [February 4, 2013, 5:57pm UTC](https://discuss.elastic.co/t/search-return-exact-matches/10619 "2013-02-04T17:57:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Rosenthal](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@Aaron\_Rosenthal](https://discuss.elastic.co/u/Aaron_Rosenthal)\
**Post date:** [February 4, 2013, 5:57pm UTC](https://discuss.elastic.co/t/search-return-exact-matches/10619/1 "2013-02-04T17:57:10Z")

</div>

What is the proper way to eliminate non matching terms, IE elastic is  
returning F-450, E-150 when searching F-150. Thanks

--  
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:** ![Andrej](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@Andrej](https://discuss.elastic.co/u/Andrej)\
**Post date:** [February 4, 2013, 6:17pm UTC](https://discuss.elastic.co/t/search-return-exact-matches/10619/2 "2013-02-04T18:17:32Z")

</div>

Without knowing your mapping I would guess this is down to tokenizing, as  
the string probably is split into F and 150. I would try to set the field  
you are searching on to not analyzed, that should solve your problem.

Am Montag, 4. Februar 2013 18:57:10 UTC+1 schrieb Aaron Rosenthal:

> What is the proper way to eliminate non matching terms, IE elastic is  
> returning F-450, E-150 when searching F-150. Thanks

--  
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:53am UTC](https://discuss.elastic.co/t/search-return-exact-matches/10619/3 "2017-07-06T02:53:04Z")

</div>

Closed on July 6, 2017, 2:53am UTC


