Hey, maybe the new transform feature could help here to create a default value (just an idea, havent tested it). See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-transform.html#mapping-transform
--Alex On Tue, Aug 5, 2014 at 10:13 AM, Tihomir Lichev <shot...@gmail.com> wrote: > Thank you Alex, > I also came up with that idea, but I think it is not that useful when you > have context, mapped to a field, which usually contains a single value, > especially numeric fields (despite that > https://github.com/elasticsearch/elasticsearch/issues/6512 is not fixed > yet) > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/6ca0e8df-b21a-4f3a-afa5-0b57c91c03c1%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/6ca0e8df-b21a-4f3a-afa5-0b57c91c03c1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9b7Nw-PhVV8WoVq2prx0-egCR94er2SMm%2B3xRM0PLVYw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.