# Custom scoring mode for nested query?

**URL:** <https://discuss.elastic.co/t/custom-scoring-mode-for-nested-query/185417>\
**Category:** Elasticsearch\
**Created:** [June 12, 2019, 12:38pm UTC](https://discuss.elastic.co/t/custom-scoring-mode-for-nested-query/185417 "2019-06-12T12:38:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Sviridov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexander_sviridov/32/31375_2.png) [@Alexander\_Sviridov](https://discuss.elastic.co/u/Alexander_Sviridov)\
**Post date:** [June 12, 2019, 12:38pm UTC](https://discuss.elastic.co/t/custom-scoring-mode-for-nested-query/185417/1 "2019-06-12T12:38:22Z")

</div>

Is it possible to use custom scoring mode on inner\_hits? Let's say I want to multiply max score by sum of scores.

(Related to this [Function score and nested query: use hit count in score?](https://discuss.elastic.co/t/function-score-and-nested-query-use-hit-count-in-score/185345))

---

<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 10, 2019, 12:38pm UTC](https://discuss.elastic.co/t/custom-scoring-mode-for-nested-query/185417/2 "2019-07-10T12:38:26Z")

</div>

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