I have a field Recieved_Date , I need two more field month and day from Recieved_Date to query easily. What i sbest way to do so, i think my options are to re-index whole data with a new mapping or create a scripted field. I don't use kibana so, how can i use scripted field?
I'd probably use ingest pipeline feature with a Script processor to make that fields part of the _source
document when reindexing the whole dataset.
That will avoid having to compute all the values at search time, which a script field does.
1 Like
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.