elasticsearch/elasticsearch.github.com — pull request #308 by felipehummel (2012-10-03 21:39:22+00:00)
Title: Added warn note on using UPDATE API while using the excludes property in _source

Adding a small note in the UPDATE API page to warn that if you use the `excludes` property in `_source` configuration, the excluded fields will be normally indexed, but after an update the excluded fields will be missing in the updated document.

We made that mistake and was hard to track down. The excluded fields were searchable/retrievable as usual right after the documents are indexed. So it was difficult to see that the error was occurring only after updating the documents.