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 Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def subscribe(s: Subscriber[_ >: SearchHit]): Unit

Attributes

Definition Classes
Publisher