ElasticsearchEx.Sharder (Elasticsearch v1.9.1)

View Source

This module allows you to fetch a subset of documents from an Elasticsearch index. It uses a modulo operation on the document ID to determine the shard number.

Summary

Functions

shard(query, nbr_shards)

shard(query, nbr_shards, shard_number)

shard(query, nbr_shards, shard_number, opts)