10gen-labs/mongo-connector — pull request #145 by vvaradhan (2014-07-03 10:26:59+00:00)
Title: Handle setups where "_source" is disabled.  Update resets values of fields not present in the update-field-list.

Use es.update instead of es.index when performing an update as the former allows partial update of documents whereas the later resets/discards values from the index for the fields that are not part of the update field set, thereby making such updated documents unsearchable using any previously searchable query terms or filter.