I added a scripted field to my index with name Drift using painless:
Name Language Script
Drift painless doc['NumberValue'].value
The attribute NumberValue has float values. The scripted field shows only the part before the comma
When I do the same with another float attribute the scripted field shows the hole float number.
How can I troubleshoot this error?
Strange. What does your number format look like? It should work with the default, but if not, perhaps try specifying the Number format and make sure there are 0's after the decimal point.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.