Hi @RRGTHWAR1 Welcome to the community...
No that is not supported / that is not how multifields work... See here
It is often useful to index the same field in different ways for different purposes. This is the purpose of multi-fields . For instance, a
string
field could be mapped as atext
field for full-text search, and as akeyword
field for sorting or aggregations:
you will need to use 2 separate fields like
created_date
created_time_of_day
Yes you would do this at index time using. an ingest pipeline with a script processor... but the result would be a long
I think I showed just how to do something similar recently as a runtime field a script processor would be very similar
This would actually create a "keyword" that shows the time of day it could be filtered...
If you just want ms, that would be a long
, and of course, that would not be a date
. It would just be a long
...