Skip to content

Commit

Permalink
fixed equality boolean filter to accommodate terminology difference i…
Browse files Browse the repository at this point in the history
…n elastic vs open search
  • Loading branch information
LEFTA98 committed Jul 7, 2022
1 parent a2406ce commit b40fde4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eland/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __init__(self, field: str, value: Any) -> None:
class Equal(BooleanFilter):
def __init__(self, field: str, value: Any) -> None:
super().__init__()
self._filter = {"term": {field: value}}
self._filter = {"match": {field: value}}


class IsIn(BooleanFilter):
Expand Down

0 comments on commit b40fde4

Please sign in to comment.