/plugin/elasticsearch/vendor/ruflin/elastica/src/ |
H A D | Index.php | 184 * @param AbstractScript $script Script 193 public function updateByQuery($query, AbstractScript $script, array $options = []): Response 199 'script' => $script->toArray()['script'], 807 * Update document, using update script. 176 updateByQuery($query, AbstractScript $script, array $options = []) global() argument
|
H A D | Reindex.php | 24 public const SCRIPT = 'script'; 122 public function setScript(Script $script): void 124 $this->setParam(self::SCRIPT, $script); 229 $script = $this->getParam(self::SCRIPT); 231 if ($script instanceof AbstractScript) { 232 $body = \array_merge($body, $script->toArray()); 234 $body[self::SCRIPT] = $script; 114 setScript(Script $script) global() argument
|
H A D | Query.php | 290 * Set script fields. 294 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-script-fields 308 public function addScriptField(string $name, AbstractScript $script): self 311 $this->_params['script_fields']->addScript($name, $script); 313 $this->setScriptFields([$name => $script]); 306 addScriptField(string $name, AbstractScript $script) global() argument
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Query/ |
H A D | Script.php | 13 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-script-query.html 18 * Construct script query. 20 * @param AbstractScript|array|string $script Script 22 public function __construct($script = null) argument 24 if (null !== $script) { 25 $this->setScript($script); 30 * Sets script object. 32 * @param array|BaseScript|string $script 36 public function setScript($script): self argument 38 return $this->setParam('script', BaseScrip [all...] |
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/examples/ |
H A D | 8871b8fcb6de4f0c7dff22798fb10fb7.asciidoc | 14 'script' => [
|
H A D | 8cd00a3aba7c3c158277bc032aac2830.asciidoc | 27 'script' => [
|
H A D | 96de5703ba0bd43fd4ac239ec5408542.asciidoc | 9 'script' => [
|
H A D | 973a3ff47fc4ce036ecd9bd363fef9f7.asciidoc | 13 'script' => [
|
H A D | 98aeb275f829b5f7b8eb2147701565ff.asciidoc | 9 'script' => [
|
H A D | f9636d7ef1a45be4f36418c875cf6bef.asciidoc | 10 'script' => [
|
H A D | 0a958e486ede3f519d48431ab689eded.asciidoc | 9 'script' => [
|
H A D | ac544eb247a29ca42aab13826ca88561.asciidoc | 9 'script' => [
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Script/ |
H A D | ScriptFields.php | 13 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-script-fields.html 34 public function addScript(string $name, AbstractScript $script): self argument 39 $this->setParam($name, $script); 52 foreach ($scripts as $name => $script) { 53 $this->addScript($name, $script);
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/ |
H A D | crud.asciidoc | 196 provide a script and usually a set of parameters: 204 'script' => 'ctx._source.counter += count', 219 your update script, but if the document does not exist (or the field you are 228 'script' => [
|
H A D | selectors.asciidoc | 47 script. 51 round-robin dynamics from per-request to per-script.
|
H A D | connection-pool.asciidoc | 218 connection pool across script instances. This means that every script is 220 script is re-run. 224 non-negligible overhead for certain PHP applications. The average PHP script 226 this script being called 1000 times per second: the sniffing connection pool 230 In reality, if your script only executes a few queries, the sniffing concept is
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Bulk/Action/ |
H A D | AbstractDocument.php | 42 public function setScript(AbstractScript $script): self argument 48 $this->_data = $script; 50 $metadata = $this->_getMetadata($script); 113 * Creates a bulk action for a document or a script.
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/QueryBuilder/DSL/ |
H A D | Aggregation.php | 440 * bucket script aggregation. 442 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-bucket-script-aggregation.html 444 public function bucket_script(string $name, ?array $bucketsPath = null, ?string $script = null): BucketScript argument 446 return new BucketScript($name, $bucketsPath, $script);
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/ |
H A D | CHANGELOG.md | 289 - Fixing script get and delete by removing `lang` from endpoint url [#814](https://github.com/elastic/elasticsearch-php/pull/814)
|
H A D | README.md | 12 Starting from version `7.4.0`, all the endpoints (and namespaces) are autogenerated using the [util/GenerateEndpoints.php](https://github.com/elastic/elasticsearch-php/blob/master/util/GenerateEndpoints.php) script. This script reads the [Elasticsearch API specs](https://github.com/elastic/elasticsearch/tree/master/rest-api-spec/src/main/resources/rest-api-spec/api) and generated the PHP classes for all the endpoints. 60 - Persistent, Keep-Alive connections (within the lifetime of the script) 102 We also provide a code examples generator for PHP using the `util/GenerateDocExamples.php` script. This command parses the `util/alternative_report.spec.json` file produced from this [JSON specification](https://raw.githubusercontent.com/elastic/built-docs/master/raw/en/elasticsearch/reference/master/alternatives_report.json) and it generates the PHP examples for each digest value.
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/build/Elasticsearch/ |
H A D | Client.asciidoc | 704 $params['body'] = (array) The script to execute 840 $params['lang'] = (string) The script language (default: painless) 848 $params['body'] = (array) The request definition requires either `script` or partial `doc` (Required)
|
/plugin/elasticsearch/vendor/ruflin/elastica/ |
H A D | CHANGELOG.md | 24 * Deprecated not passing a `buckets_path` and `script` when constructing `Elastica\Aggregation\BucketScript` and `Elastica\Aggregation\BucketSelector` 386 * Elastica\Reindex missing options (script, remote, wait_for_completion, scroll...) 475 * Use `source` script field instead of deprecated (since ES 5.6) `inline` field. [#1497](https://github.com/ruflin/Elastica/pull/1497) 526 - Removed [groovy script](https://github.com/elastic/elasticsearch/pull/21607) [#1364](https://github.com/ruflin/Elastica/pull/1364) 527 - Removed [native script](https://github.com/elastic/elasticsearch/pull/24726) [#1364](https://github.com/ruflin/Elastica/pull/1364) 528 - Removed old / removed script language support : javascript, python, mvel [#1364](https://github.com/ruflin/Elastica/pull/1364) 634 - `\Elastica\Script\AbstractScript` added the script language as constructor argument and sub-classes must implement `getScriptTypeArray` 748 - Updated Dockerfile and elasticsearch.yml to allow inline.script: true 848 `field` or `script` param. 1622 - Added upsert support when updating a document with a partial document or a script [all...] |
/plugin/elasticsearch/vendor/ruflin/elastica/src/Aggregation/ |
H A D | AbstractSimpleAggregation.php | 22 * Set a script for this aggregation. 24 * @param \Elastica\Script\AbstractScript|string $script 28 public function setScript($script): self argument 30 return $this->setParam('script', $script); 38 if (!$this->hasParam('field') && !$this->hasParam('script')) { 39 throw new InvalidException('Either the field param or the script param should be set'); 45 if (isset($array[$baseName]['script']) && \is_array($array[$baseName]['script'])) { 46 $script [all...] |
H A D | BucketScript.php | 10 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-bucket-script-aggregation.html 16 public function __construct(string $name, ?array $bucketsPath = null, ?string $script = null) argument 28 if (null !== $script) { 29 $this->setScript($script); 48 * Set the script for this aggregation. 52 public function setScript(string $script): self 54 return $this->setParam('script', $script); 68 * @throws InvalidException If buckets path or script is not set 75 if (!$this->hasParam('script')) { 44 setScript(string $script) global() argument [all...] |
H A D | BucketSelector.php | 14 public function __construct(string $name, ?array $bucketsPath = null, ?string $script = null) argument 26 if (null !== $script) { 27 $this->setScript($script);
|