Not getting JVM stats in Java API (0.19.2)

I've upgraded ES to 0.19.2. I'm using the Java API to collect stats. Since
the upgrade the jvm method on the NodeStats returns null instead of the JVM
stats object.
Is there something changed in 0.19.2 in the way you need to get those stats?

OK, I was looking at the 0.18.7 sources instead of the new version.
So for someone stumbling on this - since 0.19.X you need to explicitly set
the flags of the stats you want to get (or call all() to get all stats).

On Monday, April 23, 2012 11:44:37 AM UTC+3, Rotem wrote:

I've upgraded ES to 0.19.2. I'm using the Java API to collect stats. Since
the upgrade the jvm method on the NodeStats returns null instead of the JVM
stats object.
Is there something changed in 0.19.2 in the way you need to get those
stats?