Lines Matching refs:index

315      * Allows to perform multiple index/update/delete operations in a single request.
317 * $params['index'] = (string) Default index for items which don't provide one
336 $index = $this->extractArgument($params, 'index');
343 $endpoint->setIndex($index);
395 * $params['index'] = (list) A comma-separated list of indices to restrict the results
419 $index = $this->extractArgument($params, 'index');
426 $endpoint->setIndex($index);
433 * Creates a new document in the index.Returns a 409 response when a document with a same ID already exists in the index.
436 * $params['index'] = (string) The name of the index (Required)
438 * $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)
454 $index = $this->extractArgument($params, 'index');
462 $endpoint->setIndex($index);
469 * Removes a document from the index.
472 * $params['index'] = (string) The name of the index (Required)
490 $index = $this->extractArgument($params, 'index');
497 $endpoint->setIndex($index);
505 * $params['index'] = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices (Required)
520 * $params['scroll'] = (time) Specify how long a consistent view of the index should be maintained for scrolled search
532 * $params['request_cache'] = (boolean) Specify if request cache should be used for this request or not, defaults to index level setting
548 $index = $this->extractArgument($params, 'index');
555 $endpoint->setIndex($index);
605 * Returns information about whether a document exists in an index.
608 * $params['index'] = (string) The name of the index (Required)
628 $index = $this->extractArgument($params, 'index');
638 $endpoint->setIndex($index);
644 * Returns information about whether a document source exists in an index.
647 * $params['index'] = (string) The name of the index (Required)
666 $index = $this->extractArgument($params, 'index');
676 $endpoint->setIndex($index);
685 * $params['index'] = (string) The name of the index (Required)
708 $index = $this->extractArgument($params, 'index');
716 $endpoint->setIndex($index);
725 * $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
731 * $params['body'] = (array) An index filter specified with the Query DSL
739 $index = $this->extractArgument($params, 'index');
745 $endpoint->setIndex($index);
754 * $params['index'] = (string) The name of the index (Required)
774 $index = $this->extractArgument($params, 'index');
781 $endpoint->setIndex($index);
851 * $params['index'] = (string) The name of the index (Required)
870 $index = $this->extractArgument($params, 'index');
877 $endpoint->setIndex($index);
883 * Creates or updates a document in an index.
886 * $params['index'] = (string) The name of the index (Required)
888 * $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)
889 * $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)
895 * $params['if_seq_no'] = (number) only perform the index operation if the last operation that has changed the document has the specified sequence number
896 * $params['if_primary_term'] = (number) only perform the index operation if the last operation that has changed the document has the specified primary term
905 public function index(array $params = [])
908 $index = $this->extractArgument($params, 'index');
916 $endpoint->setIndex($index);
928 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html
942 * $params['index'] = (string) The name of the index
952 * $params['body'] = (array) Document identifiers; can be either `docs` (containing full document information) or `ids` (when index and type is provided in the URL. (Required)
960 $index = $this->extractArgument($params, 'index');
967 $endpoint->setIndex($index);
976 * $params['index'] = (list) A comma-separated list of index names to use as default
993 $index = $this->extractArgument($params, 'index');
1000 $endpoint->setIndex($index);
1009 * $params['index'] = (list) A comma-separated list of index names to use as default
1024 $index = $this->extractArgument($params, 'index');
1031 $endpoint->setIndex($index);
1040 * $params['index'] = (string) The index in which the document resides.
1062 $index = $this->extractArgument($params, 'index');
1069 $endpoint->setIndex($index);
1078 * $params['index'] = (list) A comma-separated list of index names to open point in time; use `_all` or empty string to perform the operation on all indices
1091 $index = $this->extractArgument($params, 'index');
1096 $endpoint->setIndex($index);
1106 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html
1151 * $params['index'] = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
1167 $index = $this->extractArgument($params, 'index');
1173 $endpoint->setIndex($index);
1179 * Allows to copy documents from one index to another, optionally filtering the sourcedocuments by a query, changing the destination index settings, or fetching thedocuments from a remote cluster.
1189 * $params['body'] = (array) The search definition using the Query DSL and the prototype for the index request. (Required)
1277 * $params['scroll'] = (time) Specify how long a consistent view of the index should be maintained for scrolled search
1301 * $params['index'] = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
1320 * $params['scroll'] = (time) Specify how long a consistent view of the index should be maintained for scrolled search
1340 * $params['request_cache'] = (boolean) Specify if request cache should be used for this request or not, defaults to index level setting
1354 $index = $this->extractArgument($params, 'index');
1361 $endpoint->setIndex($index);
1370 * $params['index'] = (list) Comma-separated list of data streams, indices, or aliases to search
1391 $index = $this->extractArgument($params, 'index');
1401 $endpoint->setIndex($index);
1413 * $params['index'] = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
1427 $index = $this->extractArgument($params, 'index');
1432 $endpoint->setIndex($index);
1439 * $params['index'] = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
1447 * $params['scroll'] = (time) Specify how long a consistent view of the index should be maintained for scrolled search
1462 $index = $this->extractArgument($params, 'index');
1469 $endpoint->setIndex($index);
1476 * The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.
1478 * $params['index'] = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
1490 $index = $this->extractArgument($params, 'index');
1496 $endpoint->setIndex($index);
1504 * $params['index'] = (string) The index in which the document resides. (Required)
1526 $index = $this->extractArgument($params, 'index');
1534 $endpoint->setIndex($index);
1545 * $params['index'] = (string) The name of the index (Required)
1568 $index = $this->extractArgument($params, 'index');
1576 $endpoint->setIndex($index);
1583 * Performs an update on every document in the index without changing the source,for example to pick up a mapping change.
1585 * $params['index'] = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices (Required)
1597 * $params['pipeline'] = (string) Ingest pipeline to set on index requests made by this action. (default: none)
1601 * $params['scroll'] = (time) Specify how long a consistent view of the index should be maintained for scrolled search
1614 * $params['request_cache'] = (boolean) Specify if request cache should be used for this request or not, defaults to index level setting
1630 $index = $this->extractArgument($params, 'index');
1637 $endpoint->setIndex($index);