Hi there!
I'm facing problem with one of update API requests after upgrade from 5.3.x to 6.4.2.
Update API request looks failing with "document_missing_exception".
I'm trying to update already existing Kibana search.
It has this _id value now:
"_id": "search:977e80c0-201d-11e7-bdeb-63e711161594"
Don't know what exactly value this field had before in 5.x .kibana index, but prior an update POST request was made successfully to following URL:
http://localhost:9200/.kibana/search/977e80c0-201d-11e7-bdeb-63e711161594/_update
Now though not any of following variations work:
http://localhost:9200/.kibana-6/search/977e80c0-201d-11e7-bdeb-63e711161594/_update
http://localhost:9200/.kibana-6/search/search:977e80c0-201d-11e7-bdeb-63e711161594/_update
http://localhost:9200/.kibana-6/search/search%3A977e80c0-201d-11e7-bdeb-63e711161594/_update
http://localhost:9200/.kibana-6/search%3A977e80c0-201d-11e7-bdeb-63e711161594/_update
Tried more of them, cannot find necessary one.
ES exceptions are like:
"reason" : "[search][977e80c0-201d-11e7-bdeb-63e711161594]: document missing"
"reason" : "[search][search:977e80c0-201d-11e7-bdeb-63e711161594]: document missing"
Full request just in case:
curl -H 'Content-Type: application/json' -s -XPOST http://localhost:9200/.kibana-6/search/search:977e80c0-201d-11e7-bdeb-63e711161594/_update?pretty=true -d@/my/file
Sorry - my brief research found no solution in official documentation or any related information in already created discussion on UpdateAPI / document missing exception topics.
ES: "version" : "number" : "6.4.2"
java version "1.8.0_111"
Any ideas what I'm doing wrong? Solution?
Thanks!
Regards,
Dmitry