View Source API Reference OffBroadwayElasticsearch v0.1.0
Modules
Off Broadway Elasticsearch Producer.
A GenStage producer that continuously fetches documents from Elasticsearch based on the configured strategy.
Implementation of OffBroadway.Elasticsearch.Strategy
that uses the "Scroll"
feature of Elasticsearch. This strategy is best suited for a single producer,
fetching less than 10,000
results per request. For concurrent searching, see
OffBroadway.Elasticsearch.SliceStrategy
and for searching with demand
greater than 10,000
see OffBroadway.Elasticsearch.SearchAfterStrategy
Implementation of OffBroadway.Elasticsearch.Strategy
that's able to fetch
more than 10,000
results per request by using Elasticsearch's search_after
feature. This strategy is best suited for a single producer and the
search query must be sorted in some way. For concurrent searching, see
OffBroadway.Elasticsearch.SliceStrategy
Implementation of OffBroadway.Elasticsearch.Strategy
that's suitable
for concurrent reading. Slices are determined by the concurrency
option passed into the Broadway producer
options.
Elasticseach supports many strategies for efficiently searching over large amounts of data, by adopting a strategy pattern, different strategies can be created and configured depending on the use case.