Is there any way to convert strings to floats (and ints) when specifying a
terms or histogram aggregation ? I have documents with fields that are
floats and ints but are not parsed by elasticsearch as such.
I know I could change the mapping, but for the usage case that I have
(support extraction of arbitrary events from log files, just by specifying
fields to index with simple regexes), it would be a lot more handy if I
could specify something like "script : _value.tofloat()" when writing the
aggregation for the field.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f0e63fde-2143-4c89-b2a7-491f95cdd044%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.