Skip to main content
Document Enrich stage showing collection joins and cross-reference lookups
The Document Enrich stage performs collection joins by looking up related documents from other Mixpeek collections. This enables cross-reference enrichment without external database calls.
Stage Category: ENRICH (Enriches documents)Transformation: N documents → N documents (with joined data added)

When to Use

When NOT to Use

Parameters

Configuration Examples

Output Schema

Single Document Join

Multiple Documents Join

No Match Found

Performance

Ensure lookup_field is indexed in the target collection for optimal performance. Use select_fields to reduce payload size.

Common Pipeline Patterns

Search + Author Enrichment

Product Search with Reviews

Hierarchical Category Enrichment

Error Handling

vs Other Enrichment Stages