diff --git a/src/Api/Controllers/SearchController.php b/src/Api/Controllers/SearchController.php index 8747180..9caad2b 100644 --- a/src/Api/Controllers/SearchController.php +++ b/src/Api/Controllers/SearchController.php @@ -57,9 +57,9 @@ class SearchController extends ListDiscussionsController if (! empty($search)) { $filterQuery - ->add($this->sentenceMatch($search), 'should') - ->add($this->wordMatch($search), 'should') - ->add($this->partialMatch($search), 'should'); + ->add($this->sentenceMatch($search)) + ->add($this->wordMatch($search)) + ->add($this->partialMatch($search)); } $builder = (new Builder($this->elastic))