# Multi\_match phrase\_prefix is giving different results for Elastic versions 6.6 and 8.4

**URL:** https://discuss.elastic.co/t/multi-match-phrase-prefix-is-giving-different-results-for-elastic-versions-6-6-and-8-4/315979
**Category:** Elasticsearch
**Created:** [October 6, 2022, 1:37pm UTC](https://discuss.elastic.co/t/multi-match-phrase-prefix-is-giving-different-results-for-elastic-versions-6-6-and-8-4/315979 "2022-10-06T13:37:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Hariprasad4118](https://avatars.discourse-cdn.com/v4/letter/h/858c86/32.png) [@Hariprasad4118](https://discuss.elastic.co/u/Hariprasad4118)
#### Post date: [October 6, 2022, 1:37pm UTC](https://discuss.elastic.co/t/multi-match-phrase-prefix-is-giving-different-results-for-elastic-versions-6-6-and-8-4/315979/1 "2022-10-06T13:37:36Z")

</div>

Team,

Please help me, I am using same max expansion and same ES Query on Elastic versions 6.6 and 8.4, with same set of data. but giving different results.

so, can some one clearly confirms what is the major difference in the latest version.

Query

```auto

"multi_match": {
            "fields": [
              "names"
            ],
            "max_expansions": 5,
            "query": "cur",
            "type": "phrase_prefix"
          }

```

Version : 8+ its giving results {"john curtain","john curpa"}  
version : 6.6 - no data returning.

NOTE : phrase prefix is not working as expected in 6.6 version

can any one confirm the differences of behavior.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [October 29, 2022, 5:03am UTC](https://discuss.elastic.co/t/multi-match-phrase-prefix-is-giving-different-results-for-elastic-versions-6-6-and-8-4/315979/2 "2022-10-29T05:03:04Z")

</div>

What is the mapping for the field in the two versions?

---

<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: [November 26, 2022, 5:03am UTC](https://discuss.elastic.co/t/multi-match-phrase-prefix-is-giving-different-results-for-elastic-versions-6-6-and-8-4/315979/3 "2022-11-26T05:03:32Z")

</div>

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