# Since migrating to ES5 the multi\_match query matches documents with score 0

**URL:** <https://discuss.elastic.co/t/since-migrating-to-es5-the-multi-match-query-matches-documents-with-score-0/90637>\
**Category:** Elasticsearch\
**Created:** [June 23, 2017, 12:34pm UTC](https://discuss.elastic.co/t/since-migrating-to-es5-the-multi-match-query-matches-documents-with-score-0/90637 "2017-06-23T12:34:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![reza.ro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/reza.ro/32/18153_2.png) [@reza.ro](https://discuss.elastic.co/u/reza.ro)\
**Post date:** [June 23, 2017, 12:34pm UTC](https://discuss.elastic.co/t/since-migrating-to-es5-the-multi-match-query-matches-documents-with-score-0/90637/1 "2017-06-23T12:34:35Z")

</div>

Since the update the fuzzy query matches documents and inner explain shows a ConstantScore with boost 0.

```
GET test_automation24_shop_2_article/_search
{
  "size": 100,
  "_source": "children.title_en",
  "query": {
"nested": {
  "query": {
    "multi_match": {
      "type": "most_fields",
      "query": "200/125 xg",
      "fuzziness": 1,
      "prefix_length": 1,
      "minimum_should_match": "99%",
      "fields": [
        "children.title_en.4s_whitespaceAnalyzer"
      ]
    }
  },
  "path": "children",
  "inner_hits": {
    "explain": true
  }
}
  }
}

```

and the result of explain for inner hit shows this:

```
 "_explanation": {
	"value": 0,
	"description": "sum of:",
	"details": [
	  {
		"value": 0,
		"description": "sum of:",
		"details": [
		  {
			"value": 0,
			"description": "ConstantScore(children.title_en.4s_whitespaceAnalyzer:x), product of:",
			"details": [
			  {
				"value": 0,
				"description": "boost",
				"details": []
			  },
			  {
				"value": 1,
				"description": "queryNorm",
				"details": []
			  }
			]
		  }
		]
	  }
	]
}
```

---

<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:** [July 21, 2017, 12:34pm UTC](https://discuss.elastic.co/t/since-migrating-to-es5-the-multi-match-query-matches-documents-with-score-0/90637/2 "2017-07-21T12:34:57Z")

</div>

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