Multikey index - Deduping Documents

When running queries against a multikey index the scan may hit a number of index keys that point to the same document. You can see deduping being tested for and deduped in the explain plan.

image

  • Is there any documentation to highlight how this deduping process is carried out?
  • For large datasets could this lead to large memory allocations or spills?

Thanks

Rob