Ah, that explains it. Thx. How can I configure / simulate a default_value for this field?
/AS On Friday, February 6, 2015 at 4:41:01 PM UTC+1, Michaël Gallego wrote: > > The null_value is not used as a "default value", but as a value to used > when doing searching or aggregations. > > For instance, in your mapping, your document will match if you have a > filter like this: ['term' => ['barfield' => 0]], however it won't return > the barfield property if it is null. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3b7d8f0b-f8c6-471f-a8bf-c94346603fad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
