Lines Matching refs:update
163 existing document, or perform a partial update to just some fields (either
167 ==== Partial document update
169 If you want to partially update a document (for example, change an existing
187 $response = $client->update($params);
192 ==== Scripted document update
194 Sometimes you need to perform a scripted update, such as incrementing a counter
195 or appending a new value to an array. To perform a scripted update, you need to
211 $response = $client->update($params);
219 your update script, but if the document does not exist (or the field you are
220 trying to update doesn't exist), default values are inserted instead.
240 $response = $client->update($params);