# Mixing proximity with exact an not exact

**URL:** <https://discuss.elastic.co/t/mixing-proximity-with-exact-an-not-exact/256824>\
**Category:** Elasticsearch\
**Created:** [November 26, 2020, 8:22pm UTC](https://discuss.elastic.co/t/mixing-proximity-with-exact-an-not-exact/256824 "2020-11-26T20:22:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sucaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sucaz/32/79775_2.png) [@Sucaz](https://discuss.elastic.co/u/Sucaz)\
**Post date:** [November 26, 2020, 8:22pm UTC](https://discuss.elastic.co/t/mixing-proximity-with-exact-an-not-exact/256824/1 "2020-11-26T20:22:41Z")

</div>

Hi,  
Is there a way to mix search of words in distance, where one word is exact and the other one isn't, with query\_string?  
something like:  
`(Exact("Fox") quick)~2`  
Is it a combination of quote\_field\_suffix (as in [https://www.elastic.co/guide/en/elasticsearch/reference/6.8/mixing-exact-search-with-stemming.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/mixing-exact-search-with-stemming.html) ) with something else?  
In mappings, the field is indexed as analyzed string but I also use copy to another field where there is no analyzer.

---

<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:** [December 24, 2020, 8:22pm UTC](https://discuss.elastic.co/t/mixing-proximity-with-exact-an-not-exact/256824/2 "2020-12-24T20:22:41Z")

</div>

Closed on December 24, 2020, 8:22pm UTC

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