Explore the World's Best Ideas
Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.
5
99 reads
Elasticsearch divides each index into shards, which are standalone Lucene indices. These can be either primary shards or replicas.
The number of shards and replicas per shard is set when a new index is created. After that, Elasticsearch takes care of evenly distributing the shards across the cluster. For maximum availability and performance, it ensures that replica shards are not on the same node as their correspondent primary shard.
4
20 reads
Indexing process
This process keeps replicas in sync and allows them to serve searches and to be promoted to primary shards in case the original primary is unavailable.
4
13 reads
Searching an index requires Elasticsearch to query a set of shards that contain all your data. Since shards are distributed across multiple nodes, this query will be forwarded to multiple nodes.
Search process
4
15 reads
IDEAS CURATED BY
Alt account of @ocp. I use it to stash ideas about software engineering
CURATOR'S NOTE
📖 Elasticsearch in Action
“
Similar ideas
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates