Skip to main content
For the purpose of this example let’s say we have an activity-logs index in Elasticsearch with the following mapping. This is a complex use case: How to handle filters on related data. We want to be able to filter using the user.mail field.

To accommodate you we already provide you a simple service ElasticsearchHelper that handles all the logic to connect with your Elasticsearch data.
Another way to search through related data is to implement your own search logic.