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

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

The newest version!
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