# Not all results are shown for query

**URL:** <https://forum.opensearch.org/t/not-all-results-are-shown-for-query/10442>\
**Category:** OpenSearch\
**Created:** [July 30, 2022, 2:21am UTC](https://forum.opensearch.org/t/not-all-results-are-shown-for-query/10442 "2022-07-30T02:21:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thedraketaylor](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@thedraketaylor](https://forum.opensearch.org/u/thedraketaylor)\
**Post date:** [July 30, 2022, 2:21am UTC](https://forum.opensearch.org/t/not-all-results-are-shown-for-query/10442/1 "2022-07-30T02:21:52Z")

</div>

I’ve got an index with a url field mapped like the following:

```auto
        "post_url" : {
          "type" : "keyword"
        },

```

I found several documents with the same url while querying the index. They are all the same document, with differing ids. However, when I run the following query, only 1 document is returned.

```auto
{
  "query": {
    "bool": {
      "must": {
        "match": {
          "post_url": "<url>"
        }
      }
    }
  }
}

```

Can someone explain why only 1 document is being returned?

Thanks!

---

<div class="post-metadata">

**Author:** ![radu.gheorghe](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/radu.gheorghe/32/3516_2.png) [@radu.gheorghe](https://forum.opensearch.org/u/radu.gheorghe)\
**Post date:** [August 1, 2022, 7:50am UTC](https://forum.opensearch.org/t/not-all-results-are-shown-for-query/10442/2 "2022-08-01T07:50:22Z")

</div>

The documents should show up if the match is exact. Can you share maybe a gist with a recreation of the issue?

---

<div class="post-metadata">

**Author:** ![thedraketaylor](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@thedraketaylor](https://forum.opensearch.org/u/thedraketaylor)\
**Post date:** [August 7, 2022, 1:51am UTC](https://forum.opensearch.org/t/not-all-results-are-shown-for-query/10442/3 "2022-08-07T01:51:35Z")

</div>

Hello!  
Thanks for the reply. Upon further inspection, the urls were not exactly equal. They were literally one character apart. Thanks though!
