Home
last modified time | relevance | path

Searched refs:opType (Results 1 – 6 of 6) sorted by relevance

/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/
H A DBulk.php169 * @param string $opType
182 * @param string $opType
189 $this->addDocument($document, $opType);
197 * @param string $opType
210 * @param string $opType
217 $this->addScript($document, $opType);
229 public function addData($data, string $opType = null) argument
237 $this->addScript($actionData, $opType);
259 $opType = \key($row);
261 if (Action::isValidOpType($opType)) {
[all …]
H A DAbstractUpdateAction.php171 * @param string $opType Only accept create
175 public function setOpType($opType) argument
177 return $this->setParam('op_type', $opType);
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Bulk/Action/
H A DAbstractDocument.php129 * @param string $opType
133 public static function create($data, string $opType = null): self argument
140 if (null === $opType && $data->hasOpType()) {
141 $opType = $data->getOpType();
146 if (null === $opType) {
147 $opType = self::OP_TYPE_UPDATE;
148 } elseif (self::OP_TYPE_UPDATE !== $opType) {
153 switch ($opType) {
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Bulk/
H A DAction.php43 * @param string $opType
47 …public function __construct(string $opType = self::OP_TYPE_INDEX, array $metadata = [], array $sou… argument
49 $this->setOpType($opType);
225 * @param string|null $opType
229 public static function isValidOpType(string $opType = null): bool argument
231 return \in_array($opType, self::$opTypes, true);
H A DResponse.php22 * @param string $opType
24 public function __construct($responseData, Action $action, string $opType) argument
29 $this->_opType = $opType;
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Exception/Bulk/Response/
H A DActionException.php51 $opType = $response->getOpType();
67 return "$opType: $path caused $error";