Query switch along with index pattern doesn't work in Discover #24171
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Discover
Discover Application
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: 6.2.4, 6.3.0 and 6.4.2
Elasticsearch version: same as Kibana
Server OS version: tested in Cloud deployment and Centos 6.9
Browser version: Chrome 69.0.3497.100
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): Cloud deployment and yum
Describe the bug:
Kibana Discover for some reasons keeps in memory the running query while you switch the index pattern and submit a new query, then it will provide you with results for the previous query (which should be discarded) but for the switched (new) index pattern. This won't be noticed for queries which return results (end) immediately, however for long running queries it can be bothersome.
Steps to reproduce:
For this reproduction scenario you need to pick a query which takes a moment before displaying any results:
search1
within index pattern (pattern1
)pattern2
) from the drop down list.search2
search1
but for the current index pattern (pattern2
)Expected behavior:
As soon as you supply a new search for the new index pattern, it should cancel the previous one, and only provide the result for the new input.
Any additional context:
This was working as expected in Kibana 5.6.X
The text was updated successfully, but these errors were encountered: