srrin
(srrin)
January 24, 2011, 6:53am
1
Hi,
I need to know how to update a document
My source is disabled
I need to update the value for a field
Then reindex the same document with new field
I have updated successfully when source is enabled by getting sourceAsMap. But when source is disabled I m not sure how to do this.
Thanks
SRR
kimchy
(Shay Banon)
January 24, 2011, 11:43am
2
You have to have the original document since the whole document gets reindexed.
On Monday, January 24, 2011 at 8:53 AM, srrIN wrote:
Hi,
I need to know how to update a document
My source is disabled
I need to update the value for a field
Then reindex the same document with new field
I have updated successfully when source is enabled by getting sourceAsMap.
But when source is disabled I m not sure how to do this.
Thanks
SRR
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/how-to-update-documents-when-source-is-disabled-tp2317711p2317711.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com .