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

Multiple bool query #158

Open
stefan86 opened this issue May 24, 2018 · 0 comments
Open

Multiple bool query #158

stefan86 opened this issue May 24, 2018 · 0 comments

Comments

@stefan86
Copy link

stefan86 commented May 24, 2018

There is a way to achive this kind of query without DSL ?
{ 'query': { 'bool': { 'must': [ 'bool': { 'should': [ {'match': {'text': 'san francisco'}}, {'match': {'text': 'bay area'}} ] }, 'bool': { 'should': [ {'match': {'text': 'machine learning'}}, {'match': {'text': 'data analysis'}} ] } ] } } }
Thank you,
Stefan

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

No branches or pull requests

1 participant