com.sksamuel.elastic4s.api.ValidateApi.scala Maven / Gradle / Ivy
package com.sksamuel.elastic4s.api
import com.sksamuel.elastic4s.Indexes
import com.sksamuel.elastic4s.requests.searches.queries.Query
import com.sksamuel.elastic4s.requests.validate.ValidateRequest
trait ValidateApi {
def validateIn(indexes: Indexes): ValidateExpectsQuery = new ValidateExpectsQuery(indexes)
class ValidateExpectsQuery(indexes: Indexes) {
def query(query: Query): ValidateRequest = ValidateRequest(indexes, query)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy