作者 邓超

es 批量添加

@@ -286,6 +286,10 @@ class Es { @@ -286,6 +286,10 @@ class Es {
286 * @param BulkData $data 286 * @param BulkData $data
287 * data 格式要求 287 * data 格式要求
288 * @return array 288 * @return array
  289 + * [
  290 + * errors 有字段
  291 + * ...
  292 + * ]
289 * @throws \Elastic\Elasticsearch\Exception\ClientResponseException 293 * @throws \Elastic\Elasticsearch\Exception\ClientResponseException
290 * @throws \Elastic\Elasticsearch\Exception\ServerResponseException 294 * @throws \Elastic\Elasticsearch\Exception\ServerResponseException
291 * @author:dc 295 * @author:dc