django-elasticsearch-dsl-drf icon indicating copy to clipboard operation
django-elasticsearch-dsl-drf copied to clipboard

How to filter array for item1 and item2

Open Teachmetech opened this issue 2 years ago • 0 comments

Questions

Hi there, I have an array of strings (a list) in ES that I want to query for. In Kibana this query works for what I need:

tags_list.raw : Blonde and tags_list.raw : Tall

However, I'm not finding a way to do this using django-elasticsearch-dsl-drf

If I use:

                LOOKUP_QUERY_IN,
                LOOKUP_QUERY_CONTAINS,
                LOOKUP_FILTER_TERMS,

all of these look like they are doing or operators I need an and operator

Teachmetech avatar Mar 30 '23 18:03 Teachmetech