Hello,
I want to create 2 terms aggregations :
"allUsers" : {"terms": {"field": "User"}}
"allPresentUsers" : {"terms": {"field": "PresentUser"}}
=> Then, I want to find the absent users.
So, I want to create a third aggregation which lists the users from "allUsers" who are not in "allPresentUsers".
Do you know how I can do this with Elasticsearch ?
Are there different ways to approach the problem ?
Thank you for your help,
Florent