# Match query which matches exactly to a field with shuffling

**URL:** <https://discuss.elastic.co/t/match-query-which-matches-exactly-to-a-field-with-shuffling/198357>\
**Category:** Elasticsearch\
**Created:** [September 6, 2019, 6:54am UTC](https://discuss.elastic.co/t/match-query-which-matches-exactly-to-a-field-with-shuffling/198357 "2019-09-06T06:54:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sangam0707](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@sangam0707](https://discuss.elastic.co/u/sangam0707)\
**Post date:** [September 6, 2019, 6:54am UTC](https://discuss.elastic.co/t/match-query-which-matches-exactly-to-a-field-with-shuffling/198357/1 "2019-09-06T06:54:43Z")

</div>

Hi,  
I have a field in Elasticsearch which has array of string. This field has standard analyzer.  
e.g  
Document 1  
{ field:["a b c d", "a b c x", "b a c y"]}  
Document 2  
{ field:["a b c"]}

Now I am searching "b c a" using match query with 100% match.  
I am getting both the documents which is correct.  
But I want only Document 2.  
How can I get only Document2 using match query?

Thanks

---

<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:** [October 4, 2019, 6:54am UTC](https://discuss.elastic.co/t/match-query-which-matches-exactly-to-a-field-with-shuffling/198357/2 "2019-10-04T06:54:49Z")

</div>

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