Different versions retuned with SearchResponse and GetResponse


I am retrieving a document once via the Search API and once via the Get API
(using Java).

In once case if I apply getVersion() on the SearchResponse I get 2.
If I apply getVersion() on the GetResponse I get 16.

In many other cases the responses are widely different too. Generally the
version I get from the GetResponse seems to be 5 to 10 times than what I
get from SearchResponse. What I get from SearchResponse seems to be correct.

Does someone know what's up here?


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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3ea36ff0-c156-4627-9e8f-136c899b6525%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.