SearchResponse

case class SearchResponse(took: Long, isTimedOut: Boolean, isTerminatedEarly: Boolean, suggest: Map[String, Seq[SuggestionResult]], _shards: Shards, scrollId: Option[String], _aggregationsAsMap: Map[String, Any], hits: SearchHits)
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def aggregationsAsMap: Map[String, Any]
def completionSuggestion(name: String): Map[String, CompletionSuggestionResult]
def ids: Seq[String]
def isEmpty: Boolean
def maxScore: Double
def nonEmpty: Boolean
def phraseSuggestion(name: String): Map[String, PhraseSuggestionResult]
def safeTo[T : HitReader]: IndexedSeq[Try[T]]
def size: Long
def suggestions: Map[String, Seq[SuggestionResult]]
def termSuggestion(name: String): Map[String, TermSuggestionResult]
def to[T : ClassTag]: IndexedSeq[T]
def totalHits: Long

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

lazy val aggregationsAsString: String
lazy val aggsAsContentBuilder: XContentBuilder