Batch update given attributes in given documents
public updateAttributes ( string $index, array $attrs, array $values, boolean $mva = false ) : integer | ||
$index | string | search index |
$attrs | array | array of attribute names |
$values | array | hash of arrays of new attribute values keyed by document ID |
$mva | boolean | whether to treat attributes as MVAs |
return | integer | Amount of updated documents (0 or more) on success, -1 on failure |