Lines Matching refs:self
99 $this->setParam(self::WAIT_FOR_COMPLETION, $value);
104 $this->setParam(self::WAIT_FOR_ACTIVE_SHARDS, $value);
109 $this->setParam(self::TIMEOUT, $value);
114 $this->setParam(self::SCROLL, $value);
119 $this->setParam(self::REQUESTS_PER_SECOND, $value);
124 $this->setParam(self::SCRIPT, $script);
129 $this->setParam(self::QUERY, $query);
134 $this->setParam(self::PIPELINE, $pipeline);
139 $this->setParam(self::REFRESH, $value);
178 $pipeline = $destBody[self::PIPELINE] ?? null;
180 $destBody[self::PIPELINE] = $pipeline->getId();
189 self::QUERY => null,
190 self::SORT => null,
191 self::SOURCE => null,
192 self::REMOTE => null,
193 self::SLICE => null,
200 self::VERSION_TYPE => null,
201 self::OPERATION_TYPE => null,
202 self::PIPELINE => null,
209 self::SIZE => null,
210 self::CONFLICTS => null,
216 if (isset($sourceBody[self::QUERY]) && $sourceBody[self::QUERY] instanceof AbstractQuery) {
217 $sourceBody[self::QUERY] = $sourceBody[self::QUERY]->toArray();
225 if (!$this->hasParam(self::SCRIPT)) {
229 $script = $this->getParam(self::SCRIPT);
234 $body[self::SCRIPT] = $script;