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 b27d2ef commit 229f249
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Services/OpenSearchClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ public function search(string $index, string $query, array $options = [])
'must' => [
[
'simple_query_string' => [
'query' => "*$query*",
'default_operator' => 'and'
'query' => "$query*",
'default_operator' => 'and',
'analyzer' => 'simple'
],
],
],
Expand Down

0 comments on commit 229f249

Please sign in to comment.