Exclude filter in aggregations only supports syntax for strings #12421
Labels
enhancement
New value added to drive a business result
Feature:Vis Editor
Visualization editor issues
good first issue
low hanging fruit
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: 5.4.2
Elasticsearch version: 5.4.2
Server OS version: Windows
Description of the problem including expected versus actual behavior:
An exclude filter in an aggregation will always be treated as a string filter (it will be wrapped in double quotes). It should also be able to accept an array of values, which is the way that's used to filter other types of values, like numbers.
Steps to reproduce:
Request is made like this:
It should be made like this, if it detects that the field is not a String field.
Errors in browser console (if relevant):
The text was updated successfully, but these errors were encountered: