-
Notifications
You must be signed in to change notification settings - Fork 25.2k
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
added docs for wrapper
query
#29049
Conversation
Pinging @elastic/es-core-infra |
@@ -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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this 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!
dbc8835
to
594faef
Compare
594faef
to
1cae090
Compare
1cae090
to
34a264c
Compare
Closes #11591