How to get a date_range boundary on script

Hi,

How can I access to a date_range field boundary on a script? I tried

doc['field.gte']

Also, I debug the class of the field

Debug.explain(doc['status.dates'])

and get org.elasticsearch.index.fielddata.ScriptDocValues.Strings.

Furthermore, I debug the class of the field value

Debug.explain(doc['status.dates'].value)

and get java.lang.String class

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.