Revert "attempt to make partial match filter"

This reverts commit f21dc04a00.
This commit is contained in:
Daniel Klabbers 2021-12-23 13:07:00 +01:00
parent 0ee902b7b7
commit 23074a3a0c
1 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,9 @@ class SearchController extends ListDiscussionsController
if (! empty($search)) { if (! empty($search)) {
$filterQuery $filterQuery
->add($this->sentenceMatch($search), 'should') ->add($this->sentenceMatch($search))
->add($this->wordMatch($search), 'should') ->add($this->wordMatch($search))
->add($this->partialMatch($search), 'should'); ->add($this->partialMatch($search));
} }
$builder = (new Builder($this->elastic)) $builder = (new Builder($this->elastic))