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

com.sksamuel.elastic4s.requests.searches.InnerHits.scala Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty

case class InnerHits(total: Total,
                     @JsonProperty("max_score") maxScore: Option[Double],
                     hits: Seq[InnerHit]) {
  def size: Long = hits.length
  def isEmpty: Boolean = hits.isEmpty
  def nonEmpty: Boolean = hits.nonEmpty
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy