I would like the data of the field value as Date instead of a string when the name data is 'DateTime'. I tried using the scripted field for this, but not working..
if doc['extraParams.name'].value == 'name' then
retrun new Date(Long.parseLong(doc['extraParams.value'].value)
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.