Updating Child Document

(kikster) #1

Here's a simple problem.

I created a child document with the following mapping at localhost:
9200/twitter/thistype/_mapping :

However every time I issue this command

curl -XPUT localhost:9200/twitter/thistype/1?parent=67 -d

I get this response


which is great...as you can see my version number is
incrementing...but when I point my browser to localhost:9200/twitter/
thistype/1 the document content does not update. Why would this be?

Also, does elasticsearch automatically set the _parent field equal to
the value I specify in the url "parent" parameter?

I'm on 17.6

(system) #2