protected function _getMetadata(AbstractUpdateAction $action)
{
$params = ['index', 'type', 'id', 'version', 'version_type', 'routing', 'parent', 'ttl', 'timestamp', 'retry_on_conflict'];
$metadata = $action->getOptions($params, true);
return $metadata;
}