# Discover search gets more results than it should

**URL:** <https://discuss.elastic.co/t/discover-search-gets-more-results-than-it-should/41295>\
**Category:** Kibana\
**Created:** [February 9, 2016, 4:16pm UTC](https://discuss.elastic.co/t/discover-search-gets-more-results-than-it-should/41295 "2016-02-09T16:16:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mc1392](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mc1392](https://discuss.elastic.co/u/mc1392)\
**Post date:** [February 9, 2016, 4:16pm UTC](https://discuss.elastic.co/t/discover-search-gets-more-results-than-it-should/41295/1 "2016-02-09T16:16:45Z")

</div>

When I filter using the Discover tab, I cannot focus my data.

If I want to search for 'Member Type A' in a particular field, I get results containing other Member Types in that field, like 'Member Type B', 'Member Type C', with the Member Type I searched for at the very top of the results.

Why Do I still see non-matching data?

The field in question is not\_analyzed

---

<div class="post-metadata">

**Author:** ![Court](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/court/32/6640_2.png) [@Court](https://discuss.elastic.co/u/Court)\
**Post date:** [February 9, 2016, 5:18pm UTC](https://discuss.elastic.co/t/discover-search-gets-more-results-than-it-should/41295/2 "2016-02-09T17:18:35Z")

</div>

Are you using the search bar itself to query for that value, or are you explicitly adding a filter for that field in Kibana?

---

<div class="post-metadata">

**Author:** ![mc1392](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mc1392](https://discuss.elastic.co/u/mc1392)\
**Post date:** [February 9, 2016, 5:20pm UTC](https://discuss.elastic.co/t/discover-search-gets-more-results-than-it-should/41295/3 "2016-02-09T17:20:10Z")

</div>

Search bar itself, along with some time-frame adjustments.  
No filtering.

---

<div class="post-metadata">

**Author:** ![Court](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/court/32/6640_2.png) [@Court](https://discuss.elastic.co/u/Court)\
**Post date:** [February 9, 2016, 5:23pm UTC](https://discuss.elastic.co/t/discover-search-gets-more-results-than-it-should/41295/4 "2016-02-09T17:23:13Z")

</div>

Can you paste your search query?

---

<div class="post-metadata">

**Author:** ![mc1392](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mc1392](https://discuss.elastic.co/u/mc1392)\
**Post date:** [February 9, 2016, 7:33pm UTC](https://discuss.elastic.co/t/discover-search-gets-more-results-than-it-should/41295/5 "2016-02-09T19:33:38Z")

</div>

`> Member Type : Affiliate ATS Membership (US Only)`

Could it be the fuzzy search is finding close matches?  
Here is a screen shot.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/3/38554fabdd995ff1ef19395cb6080bbbc3562fec.png)

---

<div class="post-metadata">

**Author:** ![Court](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/court/32/6640_2.png) [@Court](https://discuss.elastic.co/u/Court)\
**Post date:** [February 9, 2016, 8:18pm UTC](https://discuss.elastic.co/t/discover-search-gets-more-results-than-it-should/41295/6 "2016-02-09T20:18:30Z")

</div>

The search bar simply exposes lucene query syntax, and I don't believe it's possible to do exact value searches with lucene without some extra effort at indexing time.

However, elasticsearch and kibana provide the ability to filter on exact matches. If you expand any of the documents, you'll see all of the fields listed. Find the field you want to filter on and click the + sign to add it as a filter. If you need to, you can edit the raw filter itself by mousing over the filter and clicking the edit icon.

Here's a short screencast for adding a filter from a doc:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/b/b16f376236cb75a86af1bd793daa6916276b5fb6.gif)

---

<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:02pm UTC](https://discuss.elastic.co/t/discover-search-gets-more-results-than-it-should/41295/7 "2017-07-06T14:02:44Z")

</div>


