Hello,
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
Thanks for the reply. That seems like it could work. At least on the first
look.
But at second look:
How do I know the correct version?
If I add documentC, ES will return documentA, in the state before the ID
from documentB was added, so I guess I also get the wrong version returned
from ES
Hi,
if anyone could comment on my code I would be very greatful. I'd like to
know whether my way to set up the index is as it is intended to be.
Thanks!
--
You received this message because you are subscribed to the Google Groups
elasticsearch group.
To unsubscribe from this group and stop
Hello,
I am struggeling to set up my indices correctly. I have a mappings file and
a settings file that I would like to apply to my indices. Through trial and
error I figured out that the below code works for me.
However I am really not sure whether all steps that I take are necessary.
Also
I had a look at the mapping ES created automatically for one of my indices,
and found something that's not quite right:
annotations : {
properties : {
ids : {
properties : {
hashMap : {
properties : {