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

Poor documentation of Closure Queries #71

Open
ghost opened this issue Nov 6, 2013 · 0 comments
Open

Poor documentation of Closure Queries #71

ghost opened this issue Nov 6, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 6, 2013

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?

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

0 participants