What is a shard in Elasticsearch?
a) A type of query
b) A basic unit of storage that allows horizontal scaling
c) A backup of an index
d) A part of the Elasticsearch client
Answer:
b) A basic unit of storage that allows horizontal scaling
Explanation:
A shard is a basic unit of storage in Elasticsearch that allows an index to be divided into smaller pieces, enabling horizontal scaling and distribution across nodes.