diff --git a/django_typesense/changelist.py b/django_typesense/changelist.py index 7fd79f9..e893106 100644 --- a/django_typesense/changelist.py +++ b/django_typesense/changelist.py @@ -290,7 +290,7 @@ def get_search_filters(self, field_name: str, used_parameters: dict): ] = f"{lookup_to_operator[lookup]}{min_val or max_val}" value = None - if value is not None: + if value is not None and lookup is not None: if field.field_type == "string": search_filters_dict[ field_name