Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to filter array for item1 and item2 #307

Open
Teachmetech opened this issue Mar 30, 2023 · 0 comments
Open

How to filter array for item1 and item2 #307

Teachmetech opened this issue Mar 30, 2023 · 0 comments
Labels

Comments

@Teachmetech
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant