* * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/split-processor.html */ class SplitProcessor extends AbstractProcessor { use Traits\FieldTrait; use Traits\IgnoreFailureTrait; use Traits\IgnoreMissingTrait; public const DEFAULT_IGNORE_MISSING_VALUE = false; public function __construct(string $field, string $separator) { $this->setField($field); $this->setSeparator($separator); } /** * Set the separator. * * @return $this */ public function setSeparator(string $separator): self { return $this->setParam('separator', $separator); } }