Revert "attempt to make partial match filter"
This reverts commit f21dc04a00.
This commit is contained in:
parent
0ee902b7b7
commit
23074a3a0c
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue