Elasticsearch in Java projects - data enrichment

The previous articles present how to index and query documents using a single index. Let's imagine more real-life scenario when the relevant information is kept in few indices and the data should be put together. The one approach is to read documents from each index separately and use pure Java to merge the results, however it may be error-prone. The other solution comes directly with Elasticsearch, it is called data enrichment, where the data from source indices may enrich ingested documents. This article presents what is the data enrichment, how it can be configured and used in Java projects in practise


Mariusz Maślanka

I am a Senior Software Developer with over 9 years of experience gained in railway, banking and gaming industry.

Did you like this article?

Elasticsearch in Java projects - data enrichment