I use AWS Amplify. AppSync and DynamoDB. By DynamoDB stream, I fill ElasticSearch.
I would like to offer cards to swipe. Since the user should see only not swiped cards, I need a possibility to filter the seen ones.
What is the best way to do this with ElasticSearch?
I have the Cards and of course I can also save the swipes. Term Query can be done yes, but I would like to aggregate the users to swipes in ElasticSearch instead of sending a big array.
I found this:
Is this a good way? And how should i use this than?