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

[console] autocomplete query dsl gaps #19318

Merged
merged 10 commits into from
May 24, 2018

Conversation

bmcconaghy
Copy link
Contributor

This adds 4 query types to autocomplete in console. Closes #19178

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

percolate: {
field: '',
document: {}
},
Copy link
Contributor

Choose a reason for hiding this comment

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


const SPAN_MULTI_QUERIES = {
wildcard: {
__scope_link: '.wildcard'
Copy link
Contributor

@ycombinator ycombinator May 23, 2018

Choose a reason for hiding this comment

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

I was expecting this construction here to give me the template for the the inner wildcard query itself, much like how it works when the wildcard query is used at the top-level, but I wasn't able to do that.

wildcard

Same with the other types.

@bmcconaghy
Copy link
Contributor Author

@ycombinator I've addressed your feedback. Good catch on the inner template thing -- that never worked but good to get it working.

Copy link
Contributor

@chrisronline chrisronline left a comment

Choose a reason for hiding this comment

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

LGTM!

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

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

Ah nice, I like what you did with extracting the template definitions. LGTM!

@bmcconaghy bmcconaghy merged commit 8fd613f into elastic:master May 24, 2018
@bmcconaghy bmcconaghy deleted the console_query_dsl_gaps branch May 24, 2018 21:57
bmcconaghy added a commit to bmcconaghy/kibana that referenced this pull request May 24, 2018
* adding wrapper query DSL support

* adding span_multi query DSL support for autocomplete

* adding field_masking_span query DSL support to autocomplete

* adding percolator query DSL support to autcomplete

* fixing templates with nested query types

* adding missing percolate params
bmcconaghy added a commit that referenced this pull request May 24, 2018
* adding wrapper query DSL support

* adding span_multi query DSL support for autocomplete

* adding field_masking_span query DSL support to autocomplete

* adding percolator query DSL support to autcomplete

* fixing templates with nested query types

* adding missing percolate params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants