_size missing in 0.19.0.RC3?

In the gist at the bottom, can somebody point out to me why _size isn't
working? Am I just being incredibly dense?

On Tue, 2012-02-21 at 05:35 -0800, Matt wrote:

In the gist at the bottom, can somebody point out to me why _size
isn't working? Am I just being incredibly dense?

ES 0.19.0.RC3: Where's my _size? :( · GitHub

try adding this to your query string: &fields=_size

Thanks for the quick reply! Didn't work though; I've updated the gist with
the output that I'm getting.

It doesn't get stored by default, just indexed (so you can query/facet on it). You can set store to yes on it and then it will also be stored.

On Tuesday, February 21, 2012 at 3:53 PM, Matt wrote:

Thanks for the quick reply! Didn't work though; I've updated the gist with the output that I'm getting.

Thanks again for the quick reply! I updated the gist again, this time with
"store": "yes" to _size as well as properties.body, but I'm still unable to
get the field back as part of the doc GET (with and without fields=). Am I
still doing something wrong, or this is by design?

Yea, I see what happens. This is because of the real time get aspect (search would return it), opened an issue: Real time get on a stored _size field does not return its value · Issue #1724 · elastic/elasticsearch · GitHub.

On Tuesday, February 21, 2012 at 3:35 PM, Matt wrote:

In the gist at the bottom, can somebody point out to me why _size isn't working? Am I just being incredibly dense?

ES 0.19.0.RC3: Where's my _size? :( · GitHub

Great! Now I'm really looking forward to 0.19.0. Cheers!