Skip to content

Poor documentation of Closure Queries #71

Description

I was trying a long time to finde out how to write a valid closure query.
The Problem is that you had never documented how to write a valid query.

I found this tests https://github.com/elasticsearch/elasticsearch-lang-groovy/blob/master/src/test/groovy/org/elasticsearch/groovy/common/xcontent/GXContentBuilderTests.groovy
These are tests how the GXContentBuilder works that you are using too. I found out that how i can write must : [] and stuff with the closure notation.
Could you please document how write a correct search closure so others can easily write there valid search query closure?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions