Im pretty new to scripted fields. I read the elastic blog post on it and checked lucene capabilities. So far I have the simple scripted field to convert the date to month.
which returns 1-12. what I'd like to do 2-fold.
Convert the number to the name of the month or at least add the name to it. aka 1 --> January or to 1-January.
I'd like to create another scripted field which actually returns 1-4 for accounting quarterly reports. aka Jan-Mar=1, Apr-Jun=2, Jul-Sep=3 and finally Oct-Dec=4 I know accounting quarters may actually be slightly different, but im sure solution could easily be modified to set the proper values if they are indeed different.
thanks for any help.