Overview - Enrich processor
What is it?
The Enrich processor in Elasticsearch is a tool used to add extra information to documents as they are ingested. It looks up data from an external source, called an enrich policy, and merges matching data into the document. This helps to enhance or complete the document with related details without storing all data in one place.
Why it matters
Without the Enrich processor, you would need to store all related data inside each document or perform costly joins at query time, which slows down searches. The Enrich processor solves this by enriching documents during ingestion, making searches faster and more efficient. This improves performance and reduces storage duplication.
Where it fits
Before learning about the Enrich processor, you should understand Elasticsearch basics like indexing and ingest pipelines. After mastering it, you can explore advanced data enrichment techniques, such as using scripted processors or integrating with external databases for enrichment.