SearchResponse

com.sksamuel.elastic4s.requests.searches.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)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

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 shards: Shards
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]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val aggregationsAsString: String
lazy val aggsAsContentBuilder: XContentBuilder