Hi, I have a field called occupancy:
...
"occupancy": {
"type": "date_range",
"format": "yyyy-MM-dd"
},
...
I'm trying to use it in scripting, but failing with message: "Fielddata is not supported on field [occupancy] of type [date_range]"
Is there a way to use (array of) date_range fields in Painless scripts?