Skip to content

added docs for wrapper query #29049

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

Merged
merged 1 commit into from
Mar 14, 2018
Merged

Conversation

martijnvg
Copy link
Member

Closes #11591

@martijnvg martijnvg added >docs General docs changes review labels Mar 14, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@martijnvg martijnvg added the :Core/Infra/Transport API Transport client API label Mar 14, 2018
@@ -18,9 +18,14 @@ This query allows a script to act as a filter. Also see the

This query finds percolator queries based on documents.

<<query-dsl-wrapper-query,`wrapper` query>>::

A query that accepts other queries as json string.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one doesn't only support json right? also yaml etc.?


This query is more useful in the context of the high level rest client or
transport client. In these cases queries can be specified as a json or
yaml formatted string or as native query builder.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean here with "native query builder"?


<1> Base64 encoded string: `{"term" : { "user" : "Kimchy" }}`

This query is more useful in the context of the high level rest client or
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: s/high level rest client/high-level REST client ?

Maybe explain why it would be useful?

Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a couple of nits, thanks @martijnvg for addressing this!

@martijnvg martijnvg force-pushed the docs_wrapper_query branch 2 times, most recently from dbc8835 to 594faef Compare March 14, 2018 09:39
@martijnvg martijnvg removed the review label Mar 14, 2018
@martijnvg martijnvg force-pushed the docs_wrapper_query branch from 594faef to 1cae090 Compare March 14, 2018 10:32
@martijnvg martijnvg force-pushed the docs_wrapper_query branch from 1cae090 to 34a264c Compare March 14, 2018 10:52
@martijnvg martijnvg merged commit 34a264c into elastic:master Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Transport API Transport client API >docs General docs changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants