[elasticsearch] use a pipeline