View definition

(*Conn).UpdateWithPartialDoc

Defined in github.com/mattbaird/elastigo/lib/coreupdate.go

Description

UpdateWithPartialDoc updates a document based on partial document provided. The update API also support passing a partial document (since 0.20), which will be merged into the existing document (simple recursive merge, inner merging of objects, replacing core "keys/values" and arrays). If both doc and script is specified, then doc is ignored. Best is to put your field pairs of the partial document in the script itself.

http://www.elasticsearch.org/guide/reference/api/update.html

UpdateWithPartialDoc is referenced in 1 repository

github.com/mattbaird/elastigo