diff --git a/elasticsearch/client/utils.py b/elasticsearch/client/utils.py index 0997b25a..4df21290 100644 --- a/elasticsearch/client/utils.py +++ b/elasticsearch/client/utils.py @@ -32,6 +32,8 @@ def _escape_param(value): value = ','.join(value) elif isinstance(value, (date, datetime)): value = value.isoformat() + elif isinstance(value, bool): + value = str(value).lower() return value def _make_path(*parts):