Packages

case class TopHitsAggregation(name: String, explain: Option[Boolean] = None, fetchSource: Option[FetchSourceContext] = None, size: Option[Int] = None, from: Option[Int] = None, sorts: Seq[Sort] = Nil, trackScores: Option[Boolean] = None, version: Option[Boolean] = None, scripts: Map[String, Script] = Map.empty, storedFields: Seq[String] = Nil, subaggs: Seq[AbstractAggregation] = Nil, metadata: Map[String, AnyRef] = Map.empty, highlight: Option[Highlight] = None) extends Aggregation with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Aggregation, AbstractAggregation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TopHitsAggregation
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Aggregation
  7. AbstractAggregation
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TopHitsAggregation(name: String, explain: Option[Boolean] = None, fetchSource: Option[FetchSourceContext] = None, size: Option[Int] = None, from: Option[Int] = None, sorts: Seq[Sort] = Nil, trackScores: Option[Boolean] = None, version: Option[Boolean] = None, scripts: Map[String, Script] = Map.empty, storedFields: Seq[String] = Nil, subaggs: Seq[AbstractAggregation] = Nil, metadata: Map[String, AnyRef] = Map.empty, highlight: Option[Highlight] = None)

Type Members

  1. type T = TopHitsAggregation
    Definition Classes
    TopHitsAggregation → AbstractAggregation

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addSubAggregation(agg: AbstractAggregation): T
    Definition Classes
    Aggregation
  5. def addSubagg(agg: AbstractAggregation): T
    Definition Classes
    Aggregation
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def explain(explain: Boolean): TopHitsAggregation
  10. val explain: Option[Boolean]
  11. def fetchSource(fetchSource: Boolean): TopHitsAggregation
  12. def fetchSource(includes: Array[String], excludes: Array[String]): TopHitsAggregation
  13. val fetchSource: Option[FetchSourceContext]
  14. def from(from: Int): TopHitsAggregation
  15. val from: Option[Int]
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val highlight: Option[Highlight]
  18. def highlighting(options: HighlightOptions, fields: Iterable[HighlightField]): TopHitsAggregation
  19. def highlighting(options: HighlightOptions, first: HighlightField, rest: HighlightField*): TopHitsAggregation
  20. def highlighting(fields: Iterable[HighlightField]): TopHitsAggregation
  21. def highlighting(first: HighlightField, rest: HighlightField*): TopHitsAggregation
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def metadata(map: Map[String, AnyRef]): T
    Definition Classes
    TopHitsAggregation → AbstractAggregation
  24. val metadata: Map[String, AnyRef]
    Definition Classes
    TopHitsAggregation → AbstractAggregation
  25. val name: String
    Definition Classes
    TopHitsAggregation → AbstractAggregation
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def script(name: String, script: Script): T
  30. val scripts: Map[String, Script]
  31. def size(size: Int): TopHitsAggregation
  32. val size: Option[Int]
  33. def sortBy(sorts: Iterable[Sort]): TopHitsAggregation
  34. def sortBy(first: Sort, rest: Sort*): TopHitsAggregation
  35. val sorts: Seq[Sort]
  36. def storedField(field: String): TopHitsAggregation
  37. def storedFields(fields: Iterable[String]): TopHitsAggregation
  38. def storedFields(first: String, rest: String*): TopHitsAggregation
  39. val storedFields: Seq[String]
  40. def subAggregations(aggs: Iterable[AbstractAggregation]): T
    Definition Classes
    TopHitsAggregation → Aggregation
  41. def subAggregations(first: AbstractAggregation, rest: AbstractAggregation*): T
    Definition Classes
    Aggregation
  42. def subaggs(aggs: Iterable[AbstractAggregation]): T
    Definition Classes
    Aggregation
  43. def subaggs(first: AbstractAggregation, rest: AbstractAggregation*): T
    Definition Classes
    Aggregation
  44. val subaggs: Seq[AbstractAggregation]
    Definition Classes
    TopHitsAggregation → Aggregation
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def trackScores(trackScores: Boolean): TopHitsAggregation
  47. val trackScores: Option[Boolean]
  48. def version(version: Boolean): TopHitsAggregation
  49. val version: Option[Boolean]
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Aggregation

Inherited from AbstractAggregation

Inherited from AnyRef

Inherited from Any

Ungrouped