diff --git a/api/resolvers/item.js b/api/resolvers/item.js index 6a146329..e8fc67f4 100644 --- a/api/resolvers/item.js +++ b/api/resolvers/item.js @@ -279,6 +279,16 @@ export default { must: { bool: { should: [ + { + // all terms are matched in fields + multi_match: { + query, + type: 'most_fields', + fields: ['title^20', 'text'], + minimum_should_match: '100%', + boost: 3 + } + }, { // all terms are matched in fields multi_match: {