Skip to content

Commit

Permalink
Fix OpenSearch query
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed May 27, 2024
1 parent 73bd739 commit 0786d98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion radis/opensearch/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ def _build_query_dict(search: Search) -> dict:
"bool": {
"filter": _build_filter_dict(search.filters),
"must": {
"simple_query_string": {
"query_string": {
"query": _build_query_string(search.query),
"default_field": "body",
"default_operator": "AND",
},
},
}
Expand Down

0 comments on commit 0786d98

Please sign in to comment.