From 1d5e65c5539604688fbf8ab2926913bc72b75bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bour?= Date: Thu, 8 Aug 2019 21:51:32 +0200 Subject: [PATCH] fix: replace `minimum_number_should_match` by `minimum_should_match` closed #23 thanks to @compwiztobe --- kb/query.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kb/query.js b/kb/query.js index e6083d5..29652a2 100755 --- a/kb/query.js +++ b/kb/query.js @@ -70,7 +70,7 @@ sense.kb.addGlobalAutocompleteRules("query", { should: [ {__scope_link: "GLOBAL.query"} ], - minimum_number_should_match: 1, + minimum_should_match: 1, boost: 1.0 }, boosting: { @@ -386,4 +386,4 @@ sense.kb.addGlobalAutocompleteRules("query", { } } -}); \ No newline at end of file +});