How to find intersection of multiple queries

My record looks like this:

user_uuid, keywords, timestamp

I need to find out the list of user_uuids who searched for given keywords within a given timestamp.

However, there can be multiple conditions for finding user_uuids. Basically, I want an intersection of the results for each condition.

I am stuck and can't seem to find any solution.

Ref: https://stackoverflow.com/questions/59949450/how-to-write-an-elasticsearch-query-having-multiple-conditions

Attempt: https://docs.google.com/document/d/1kE4uwA9hP92EOTuImVl4WTOdhcaS93lwq2Auy03pwr8/edit

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.