/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/examples/ |
H A D | 1216f8f7367df3aa823012cef310c08a.asciidoc | 13 'script' => [
|
H A D | 4646764bf09911fee7d58630c72d3137.asciidoc | 10 'script' => [
|
H A D | 4cd246e5c4c035a2cd4081ae9a3d54e5.asciidoc | 9 'script' => [
|
H A D | 58df61acbfb15b8ef0aaa18b81ae98a6.asciidoc | 9 'script' => 'ctx._source.remove(\'new_field\')',
|
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 | a49169b4622918992411fab4ec48191b.asciidoc | 11 'script' => [
|
H A D | ac544eb247a29ca42aab13826ca88561.asciidoc | 9 'script' => [
|
H A D | eb30ba547e4a7b8f54f33ab259aca523.asciidoc | 9 'script' => 'ctx._source.new_field = \'value_of_new_field\'',
|
H A D | f9636d7ef1a45be4f36418c875cf6bef.asciidoc | 10 'script' => [
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/ |
H A D | experimental-beta-apis.asciidoc | 51 Returns all script contexts. 62 Returns available script types, languages and contexts.
|
H A D | selectors.asciidoc | 47 script. 51 round-robin dynamics from per-request to per-script.
|
/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);
|
H A D | ScriptedMetric.php | 49 public function setCombineScript(string $script): self argument 51 return $this->setParam('combine_script', $script); 61 public function setInitScript(string $script): self argument 63 return $this->setParam('init_script', $script); 69 * This is the only required script. If no combine_script is specified, the resulting state needs to be stored in 74 public function setMapScript(string $script): self argument 76 return $this->setParam('map_script', $script); 82 * The script is provided with access to a variable _aggs which is an array of the result of the combine_script on 87 public function setReduceScript(string $script): self argument 89 return $this->setParam('reduce_script', $script); [all...] |
H A D | TopHits.php | 91 * Set script fields. 111 public function addScriptField(string $name, AbstractScript $script): self argument 117 $this->_params['script_fields']->addScript($name, $script);
|
H A D | WeightedAvg.php | 23 if ($this->hasParam('value') && isset($this->getParam('value')['script'])) { 24 throw new InvalidException('Weighted Average aggregation with a value mixing field and script is not possible.'); 37 * Set the value as a script for this aggregation. 41 public function setValueScript(string $script) argument 44 throw new InvalidException('Weighted Average aggregation with a value mixing field and script is not possible.'); 47 return $this->setParam('value', ['script' => $script]); 59 if ($this->hasParam('weight') && isset($this->getParam('weight')['script'])) { 60 throw new InvalidException('Weighted Average aggregation with a weight mixing field and script is not possible.'); 73 * Set the weight as a script fo 77 setWeightScript(string $script) global() argument [all...] |
/plugin/elasticsearch/vendor/ruflin/elastica/src/ |
H A D | Bulk.php | 156 public function addScript(AbstractScript $script, ?string $opType = null): self 158 $action = AbstractDocumentAction::create($script, $opType); 171 foreach ($scripts as $script) { 172 $this->addScript($script, $opType); 154 addScript(AbstractScript $script, string $opType = null) global() argument
|
/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.
|
H A D | UpdateDocument.php | 42 public function setScript(AbstractScript $script): AbstractDocument argument 44 parent::setScript($script); 47 $source = $script->toArray(); 49 if ($script->hasUpsert()) { 50 $upsert = $script->getUpsert()->getData(); 55 if ($script->getScriptedUpsert()) {
|