'How to make a selection of row cassandra by basing on variable criteria?
I'm currently working on a social network with Cassandra. I am planning to implement a system of posts and post recommendations in my site. My problem is that I want to offer content that is relevant to the user.
I have started to set up a table with a user id, the content of the post, the date and a list of domains that define the interests of the person who voted.
I wanted to know how I could set up a system to select posts by sorting them according to the post's score (calculated from the interaction) as well as the areas near the post that the user is interested in?
The user is going to see many posts, how can I make sure that he doesn't come across the same ones several times?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|