All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sksamuel.elastic4s.api.BulkApi.scala Maven / Gradle / Ivy

There is a newer version: 8.15.4
Show newest version
package com.sksamuel.elastic4s.api

import com.sksamuel.elastic4s.requests.bulk.{BulkCompatibleRequest, BulkRequest}

trait BulkApi {
  this: IndexApi =>

  def bulk(requests: Iterable[BulkCompatibleRequest]): BulkRequest = BulkRequest(requests.toSeq)
  def bulk(requests: BulkCompatibleRequest*): BulkRequest          = bulk(requests)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy