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

Support Filter in bool compound query #63

Closed
dbulaja98 opened this issue Jan 31, 2023 · 3 comments
Closed

Support Filter in bool compound query #63

dbulaja98 opened this issue Jan 31, 2023 · 3 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@dbulaja98
Copy link
Collaborator

Description:

At the moment, we have only must and should elements in bool query. The filter clause must appear in the matching documents. Unlike queries specified under must, queries specified under the filter element have no effect on scoring - scores are returned as 0.

GET _search
{
  "query": {
    "bool": {
      "filter": {
        "term": {
          "status": "active"
        }
      }
    }
  }
}
@dbulaja98 dbulaja98 added the good first issue Good for newcomers label Feb 3, 2023
@kevchuang
Copy link
Contributor

I would love to take this one !

@drmarjanovic
Copy link
Member

@kevchuang all yours! 🎉

@drmarjanovic
Copy link
Member

drmarjanovic commented Feb 7, 2023

Closed with #86

@kevchuang, thanks! We are looking forward to more contributions from you! 🥳 🎉

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

No branches or pull requests

3 participants