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

Query DSL: Improve or and and filters to accept just array of filters #336

Closed
kimchy opened this issue Aug 25, 2010 · 1 comment
Closed

Comments

@kimchy
Copy link
Member

kimchy commented Aug 25, 2010

Simplify the DSL for or and and filters removing the need for filters inner element. Here is an example:

{
    "filtered" : {
        "query" : {
            "term" : { "name.first" : "shay" }
        },
        "filter" : {
            "and" : [
                {
                    "term" : { "name.first" : "shay1" }
                },
                {
                    "term" : { "name.first" : "shay4" }
                }
            ]
        }
    }
}
@kimchy
Copy link
Member Author

kimchy commented Aug 25, 2010

Query DSL: Improve or and and filters to accept just array of filters, closed by 9d615a4.

mindw pushed a commit to mindw/elasticsearch that referenced this issue Sep 5, 2022
…lastic#336)

MPC-3760: event sandbox for demo4

* event sandbox for demo4


Approved-by: Gideon Avida
costin pushed a commit that referenced this issue Dec 6, 2022
🤖 ESQL: Merge upstream
emilykmarx pushed a commit to emilykmarx/elasticsearch that referenced this issue Dec 26, 2023
Writing out the full contents of the buffer at the info/verbose level
is a lot of noise. Downgrade to debug

Fixes elastic#336

Fixes elastic#350
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant