Indexing dates as text with synonyms for month and maybe 2/4 digit year


(Alex Roytman) #1

Hi,

Is there a filter I can use when indexing a date (ISO date format without
time) as text field?
by default it is split on "-" and I would like to keep it and add month
name as synonym for month number.

on the other note, is there any way to make it not to be split on separate
tokens when it is fed into _all field (for which I use standard tokenizer +
stemming and few other things)?

Thanks,
Alex

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2ffced3a-2161-4409-8103-a3fd20835700%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2