Home
last modified time | relevance | path

Searched refs:script (Results 251 – 275 of 762) sorted by path

1...<<11121314151617181920>>...31

/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/examples/
H A D1216f8f7367df3aa823012cef310c08a.asciidoc13 'script' => [
H A D4646764bf09911fee7d58630c72d3137.asciidoc10 'script' => [
H A D4cd246e5c4c035a2cd4081ae9a3d54e5.asciidoc9 'script' => [
H A D58df61acbfb15b8ef0aaa18b81ae98a6.asciidoc9 'script' => 'ctx._source.remove(\'new_field\')',
H A D8871b8fcb6de4f0c7dff22798fb10fb7.asciidoc14 'script' => [
H A D8cd00a3aba7c3c158277bc032aac2830.asciidoc27 'script' => [
H A D96de5703ba0bd43fd4ac239ec5408542.asciidoc9 'script' => [
H A D973a3ff47fc4ce036ecd9bd363fef9f7.asciidoc13 'script' => [
H A D98aeb275f829b5f7b8eb2147701565ff.asciidoc9 'script' => [
H A Da49169b4622918992411fab4ec48191b.asciidoc11 'script' => [
H A Dac544eb247a29ca42aab13826ca88561.asciidoc9 'script' => [
H A Deb30ba547e4a7b8f54f33ab259aca523.asciidoc9 'script' => 'ctx._source.new_field = \'value_of_new_field\'',
H A Df9636d7ef1a45be4f36418c875cf6bef.asciidoc10 'script' => [
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dexperimental-beta-apis.asciidoc51 Returns all script contexts.
62 Returns available script types, languages and contexts.
H A Dselectors.asciidoc47 script.
51 round-robin dynamics from per-request to per-script.
/plugin/elasticsearch/vendor/ruflin/elastica/
H A DCHANGELOG.md24 * 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 DAbstractSimpleAggregation.php22 * 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 DBucketScript.php10 * @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 DBucketSelector.php14 public function __construct(string $name, ?array $bucketsPath = null, ?string $script = null) argument
26 if (null !== $script) {
27 $this->setScript($script);
H A DScriptedMetric.php49 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 DTopHits.php91 * Set script fields.
111 public function addScriptField(string $name, AbstractScript $script): self argument
117 $this->_params['script_fields']->addScript($name, $script);
H A DWeightedAvg.php23 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 DBulk.php156 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 DAbstractDocument.php42 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 DUpdateDocument.php42 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()) {

1...<<11121314151617181920>>...31