updateDocs method

Future<bool> updateDocs({
  1. required List<Doc> docs,
  2. String? index,
  3. String? type,
  4. int batchSize = 100,
})

Bulk update docs in index.

Implementation

Future<bool> updateDocs({
  required List<Doc> docs,
  String? index,
  String? type,
  int batchSize = 100,
}) async {
  return await bulk(
    updateDocs: docs,
    index: index,
    type: type,
    batchSize: batchSize,
  );
}