All Questions
Elasticsearch hard

When using the `nested` field type to store arrays of objects, how does Lucene physically store these components to ensure high-performance joining during a query?

  1. A They are stored in a hidden 'Global Shadow Index' that is shared across all shards.
  2. B Block Join Architecture: Each nested object is stored as a separate, hidden Lucene document, but they are guaranteed to be physically adjacent to the root parent document within the same Lucene segment.
  3. C They are stored as a compressed binary blob (CBOR) within the parent's `_source` field only.
  4. D They are distributed across replica shards to balance the I/O load during parent traversal.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions