0.1.5
🚀 Add ability to pass custom options to create / update documents as third parameter.
$options['wait_for_active_shards'] = (string) Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
$options['refresh'] = (enum) If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes. (Options = true,false,wait_for)
$options['routing'] = (string) Specific routing value
$options['timeout'] = (time) Explicit operation timeout
$options['version'] = (number) Explicit version number for concurrency control
$options['version_type'] = (enum) Specific version type (Options = internal,external,external_gte)
$options['pipeline'] = (string) The pipeline id to preprocess incoming documents with