ScrollPublisher
com.sksamuel.elastic4s.streams.ScrollPublisher
class ScrollPublisher extends Publisher[SearchHit]
An implementation of the reactive API Publisher, that publishes documents using an elasticsearch scroll cursor. The initial query must be provided to the publisher, and there are helpers to create a query for all documents in an index (and type).
Value parameters
- actorRefFactory
-
an Actor reference factory required by the publisher
- client
-
a client for the cluster
- maxItems
-
the maximum number of elements to return
- search
-
the initial search query to execute
Attributes
- Graph
-
- Supertypes
-
trait Publisher[SearchHit]class Objecttrait Matchableclass Any
Members list
In this article