Skip to content

Commit

Permalink
chore(focus_match): remove function_score
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed Jul 25, 2023
1 parent 0ed239f commit cb0f26b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions query/view/focus_multi_match.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

0 comments on commit cb0f26b

Please sign in to comment.