Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit 5a3c840

Browse files
committed
Changed default search rule query.
1 parent b87c224 commit 5a3c840

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SearchRule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public function buildQueryPayload()
2222
{
2323
return [
2424
'must' => [
25-
'match' => [
26-
'_all' => $this->builder->query
25+
'query_string' => [
26+
'query' => $this->builder->query
2727
]
2828
]
2929
];

0 commit comments

Comments
 (0)