Creates a new Iterator for instances of SearchHit by wrapping the given HTTP client.
Creates a new Iterator for type T by wrapping the given HTTP client.
Creates a new Iterator for type T by wrapping the given HTTP client. A typeclass HitReader[T] must be provided for marshalling of the search responses into instances of type T.
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.