com.sksamuel.elastic4s.api.ReindexApi.scala Maven / Gradle / Ivy
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