IIRC, totalHits() was the first form. But some frameworks needed accessors 
using get/set.
So get was added.

I would use get/set.



Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 14 août 2014 à 20:46, AsyncAwait <[email protected]> a écrit :
> 
> 
> Is this is for backward compatibility?  Which is latest one?
> -- 
> 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/d8f83077-d220-43dd-acbb-c4253ee3c1ee%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/C4C7C738-8671-413D-88A1-946109CF18F2%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to