How can i retrive value in milliseconds format on range filter?

I have this example, where I'm trying to get a doc value inside a range filter.

Someone can help me?

...filter('range', **{
                   'debts.ocurrenceDate': {
                            'gte': "doc['eventDatetime'].value.getMillis()",
                            'lte': XXXXXX (any milliseconds)

What kind of code is that?

Anyway elasticsearch supports dates as ms since epoch.

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