How to update documents when source is disabled

Hi,
I need to know how to update a document

  1. My source is disabled
  2. I need to update the value for a field
  3. 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

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

  1. My source is disabled
  2. I need to update the value for a field
  3. 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.