From cb0f26b52e0200d4f6c8d407823fe90887cb96c4 Mon Sep 17 00:00:00 2001 From: Joxit Date: Tue, 25 Jul 2023 12:17:25 +0200 Subject: [PATCH] chore(focus_match): remove `function_score` --- query/view/focus_multi_match.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/query/view/focus_multi_match.js b/query/view/focus_multi_match.js index cceb4a0c0..2bbb16687 100644 --- a/query/view/focus_multi_match.js +++ b/query/view/focus_multi_match.js @@ -7,10 +7,5 @@ module.exports = (view_name) => (vs) => { return null; } - return { - 'function_score': { - 'query': peliasQuery.view.leaf.multi_match(view_name)(vs), - 'score_mode': 'multiply', - }, - }; + return peliasQuery.view.leaf.multi_match(view_name)(vs); };