Just adding to the previous answer that elasticsearch does not modify the
_source doc.
--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> Le 6 févr. 2015 à 16:32, AS <*@equanimity.nl> a écrit :
>
> Hello,
>
> I've configured the null_value of a field, as below. But when I do a query,
> the documents that lack a barfield, don't return the value "0" for the
> 'barfield' as expected. What could be the reason?
>
> "foo": {
> "properties": {
> "barfield": {
> "type": "long",
> "store" : true,
> "null_value" : 0
> },
> }
>
> Regards,
>
> AS.
>
>
> --
> 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/509da3e8-0f77-473d-b8e7-becd835f5221%40googlegroups.com.
> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/F4EFA1AC-EAE4-4124-944F-3A81E08465B6%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.