As I can make a query between 2 tables, I have the following tables
Company:
- id
- name
- domain
- timestamp
Target
- id
- name
- domain
- company
- website
- company_id
- timestamp
User
- id
- firstName
- lastName
- email
- company_id
-timestamp
I need to make a match between the domain of the target and the user's mail belonging to the company.
I'm working on ElasticSearch 2.3 with the elasticsearch-py library with python 2.7