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

com.sksamuel.elastic4s.api.ReindexApi.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.reindex.ReindexRequest
import com.sksamuel.elastic4s.{Index, Indexes}

trait ReindexApi {
  def reindex(source: String, target: Index): ReindexRequest  = reindex(Indexes(source), target)
  def reindex(source: Indexes, target: Index): ReindexRequest = ReindexRequest(source, target)
  def reindex(source: Index, target: Index): ReindexRequest   = ReindexRequest(source.toIndexes, target)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy