|
32 | 32 | */
|
33 | 33 | class Client
|
34 | 34 | {
|
35 |
| - const VERSION = '7.4.1'; |
| 35 | + const VERSION = '7.5.0'; |
36 | 36 |
|
37 | 37 | /**
|
38 | 38 | * @var Transport
|
@@ -212,7 +212,7 @@ public function count(array $params = [])
|
212 | 212 | * $params['routing'] = (string) Specific routing value
|
213 | 213 | * $params['timeout'] = (time) Explicit operation timeout
|
214 | 214 | * $params['version'] = (number) Explicit version number for concurrency control
|
215 |
| - * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) |
| 215 | + * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte) |
216 | 216 | * $params['pipeline'] = (string) The pipeline id to preprocess incoming documents with
|
217 | 217 | * $params['body'] = (array) The document (Required)
|
218 | 218 | *
|
@@ -590,12 +590,12 @@ public function getSource(array $params = [])
|
590 | 590 | * $params['index'] = (string) The name of the index (Required)
|
591 | 591 | * $params['type'] = DEPRECATED (string) The type of the document
|
592 | 592 | * $params['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)
|
593 |
| - * $params['op_type'] = (enum) Explicit operation type (Options = index,create) (Default = index) |
| 593 | + * $params['op_type'] = (enum) Explicit operation type. Defaults to `index` for requests with an explicit document ID, and to `create`for requests without an explicit document ID (Options = index,create) |
594 | 594 | * $params['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)
|
595 | 595 | * $params['routing'] = (string) Specific routing value
|
596 | 596 | * $params['timeout'] = (time) Explicit operation timeout
|
597 | 597 | * $params['version'] = (number) Explicit version number for concurrency control
|
598 |
| - * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) |
| 598 | + * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte) |
599 | 599 | * $params['if_seq_no'] = (number) only perform the index operation if the last operation that has changed the document has the specified sequence number
|
600 | 600 | * $params['if_primary_term'] = (number) only perform the index operation if the last operation that has changed the document has the specified primary term
|
601 | 601 | * $params['pipeline'] = (string) The pipeline id to preprocess incoming documents with
|
|
0 commit comments