query:queryString:options setting doesn't revert when deleted #11463
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Search
Querying infrastructure in Kibana
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Might be related to #4040
This works the same on 5.2.0 so it's not a regression since then.
Kibana version: 5.4.0
Elasticsearch version: 5.4.0
Server OS version: CentOS 7
Browser version: Chrome
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): .rpm
Description of the problem including expected versus actual behavior:
if I set Advanced Settings
query:queryString:options
, run a query, go back and delete my setting (to set it back to the default), and then go back to Discover and search again, it still uses the setting I deleted.Changing the search query clears it. See steps 8 and 9 below where the expected result is not correct.
So this seems like some kind of caching we do of the query until we change the search in the query bar?
Steps to reproduce:
query:queryString:options
to{ "analyze_wildcard": true, "fuzziness": 2}
and saveGET .kibana/config/_search
and you should see "query:queryString:options": """{ "analyze_wildcard": true, "fuzziness": 2}"""Request
button and see that the query string looks likequery:queryString:options
setting"query:queryString:options": null
DON'T change the search
but just click the Search magnifying glass.Request
button.you still see the "fuzziness": 2 but shouldn't
you still see the "fuzziness": 2 but shouldn't
"fuzziness": 2
finally is cleared.Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Describe the feature:
The text was updated successfully, but these errors were encountered: