mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update ES predb search queries
This commit is contained in:
@@ -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,
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user