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

Autocomplete breaks for all children of bool->filter #53510

Closed
senorsunday opened this issue Dec 18, 2019 · 3 comments · Fixed by #60361 or #60488
Closed

Autocomplete breaks for all children of bool->filter #53510

senorsunday opened this issue Dec 18, 2019 · 3 comments · Fixed by #60361 or #60488
Labels
bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@senorsunday
Copy link

Kibana version: 7.4.1

Elasticsearch version: 7.4.1

Server OS version: Ubuntu 18

Browser version: Firefox 71

Browser OS version: Windows

Original install method (e.g. download page, yum, from source, etc.): docker

Describe the bug:
Typing an a word (quoted or otherwise) for part of a query does not bring up the autocomplete dropdown for any children of "bool":{"filter", nor does CTRL/CMD+Space.

Steps to reproduce:

  1. Create a query using "must" seeing autocomplete working
  2. Change "must" to "filter" and see it stop working
GET telemetry/_search
{
  "query": {
    "bool": {
      "filter": [
        {ter}
      ]
    }
  }
}

Expected behavior:
Autocomplete for inside "must" & "filter" queries should be identical

Screenshots (if relevant):

Errors in browser console (if relevant): No errors

Provide logs and/or server output (if relevant): No errors

Any additional context:

@bhavyarm bhavyarm added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Dec 18, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@bhavyarm bhavyarm added the Feature:Query Bar Querying and query bar features label Dec 18, 2019
@senorsunday
Copy link
Author

I've since found that autocomplete works when you pass key/value pairs directly instead of a list.

GET telemetry/_search
{
  "query": {
    "bool": {
      "filter": {ter} // autocomplete works here
    }
  }
}

But in that case, must, must_not and should all break autocomplete...

@timroes timroes added Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more and removed Feature:Query Bar Querying and query bar features Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Mar 16, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
6 participants