A SearchIterator is used to create standard library iterator's from a search request.
A SearchIterator is used to create standard library iterator's from a search request.
The iterator will use a search scroll internally for lazy loading of the data.
Each time the iterator needs to request more data, the iterator will block until the request
returns. If you require a completely lazy style iterator, consider using reactive streams.
case classGeoDistanceBucket(key: String, docCount: Long, from: Option[Double], to: Option[Double], data: Map[String, Any]) extends AggBucket with Product with Serializable
case classIpRangeBucket(key: Option[String], docCount: Long, from: Option[String], to: Option[String], data: Map[String, Any]) extends AggBucket with Product with Serializable
case classRangeBucket(key: Option[String], from: Option[Double], to: Option[Double], docCount: Long, data: Map[String, Any]) extends AggBucket with Product with Serializable
case classSignificantTermBucket(key: String, docCount: Long, bgCount: Long, score: Double, data: Map[String, Any]) extends AggBucket with Transformable with Product with Serializable
case classTermsAggResult(name: String, buckets: Seq[TermBucket], docCountErrorUpperBound: Long, otherDocCount: Long) extends BucketAggregation with Product with Serializable
case classTermsLookup(ref: DocumentRef, path: String, routing: Option[String] = None) extends Product with Serializable
case classTopHit(index: String, type: String, id: String, score: Option[Double], sort: Seq[String], source: Map[String, Any]) extends Transformable with Product with Serializable
A SearchIterator is used to create standard library iterator's from a search request. The iterator will use a search scroll internally for lazy loading of the data.
Each time the iterator needs to request more data, the iterator will block until the request returns. If you require a completely lazy style iterator, consider using reactive streams.