elasticsearch-kopf
elasticsearch-kopf copied to clipboard
rest console: Autoformating of doubles...
There is a probably Problem with the autoindent / autoformat Feature in the rest console of kopf (2.1.2).
If you have a query with e.g.:
"mypercentile": {
"percentiles_bucket": {
"buckets_path": "queries>percentiles",
"percents": [
90.0
]
}
}
The Gui saves the 90.0 as 90. This results in an elasticsearch error:
"error": {
"root_cause": [
{
"type": "parse_exception",
"reason": "parse_exception: Parameter [percents] must be an array of doubles, type ArrayList
provided instead"
}
Workaround: use "90.01"
regards Christian