ruflin/Elastica — pull request #622 by gargamol (2014-05-30 16:10:48+00:00)
Title: toString updated to consider doc_as_upsert if sent an array source

setDocument in Bulk/Action/UpdateDocument does set doc_as_upsert as expected, but the Bulk/Action toString method condition for source as an array did not include include it into the json sent to elastic search if present.