# Query Against Minhash Field

**URL:** <https://discuss.elastic.co/t/query-against-minhash-field/295370>\
**Category:** Elasticsearch\
**Created:** [January 25, 2022, 4:08pm UTC](https://discuss.elastic.co/t/query-against-minhash-field/295370 "2022-01-25T16:08:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nutchapol\_Dendumrong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nutchapol_dendumrong/32/100819_2.png) [@Nutchapol\_Dendumrong](https://discuss.elastic.co/u/Nutchapol_Dendumrong)\
**Post date:** [January 25, 2022, 4:08pm UTC](https://discuss.elastic.co/t/query-against-minhash-field/295370/1 "2022-01-25T16:08:45Z")

</div>

I have been following this tutorial to create minhash signature.

> **[MinHash token filter | Elasticsearch Guide \[7.16\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-minhash-tokenfilter.html)**

However, it is unclear to me how to perform searching using minhash properly. I have attempted the following query, which I quickly learned that it is very slow.

```auto
query = {
        "match": {
          "content.hash": {
            "query": "some text...."
          }
        }
      }

```

Any suggestions are greatly appreciated. Thank you!

---

<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:** [February 22, 2022, 4:09pm UTC](https://discuss.elastic.co/t/query-against-minhash-field/295370/2 "2022-02-22T16:09:41Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
