use partial match with weighting

This commit is contained in:
Daniel Klabbers 2022-01-10 13:47:05 +01:00
parent 9108553f09
commit 502f7a9f86
1 changed files with 4 additions and 4 deletions

View File

@ -56,10 +56,10 @@ class SearchController extends ListDiscussionsController
if (! empty($search)) { if (! empty($search)) {
$filterQuery $filterQuery
->add($this->sentenceMatch($search)) // ->add($this->sentenceMatch($search))
->add($this->wordMatch($search, 'and')) // ->add($this->wordMatch($search, 'and'))
->add($this->wordMatch($search, 'or')) // ->add($this->wordMatch($search, 'or'))
// ->add($this->partialMatch($search)) ->add($this->partialMatch($search))
; ;
} }