Skip to content

Commit

Permalink
changed how data is queried
Browse files Browse the repository at this point in the history
  • Loading branch information
eddierusinskas committed Apr 24, 2023
1 parent e41d39d commit b27d2ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Services/OpenSearchClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public function search(string $index, string $query, array $options = [])
'must' => [
[
'simple_query_string' => [
'query' => "\"$query\""
'query' => "*$query*",
'default_operator' => 'and'
],
],
],
Expand Down

0 comments on commit b27d2ef

Please sign in to comment.