Update ES predb search queries

This commit is contained in:
DariusIII
2020-01-03 20:01:17 +01:00
parent f9ed6c992a
commit 194801faa0
+6 -1
View File
@@ -195,8 +195,13 @@ class Predb extends Model
'index' => 'predb',
'body' => [
'query' => [
'match' =>['title' => $search],
'multi_match' => [
'query' => $search,
'fields' => ['title'],
'type' => 'phrase',
],
],
'size' => 1000,
],
];