Hi all

Say that I have a solr index with 5000 documents, each representing a campaign that users of my site can join. The user can search and find these campaigns in various ways, which is not a problem, but once a user has found a campaign and joined it, I don't want that campaign to ever show up again for that particular user.

After a while, a user can have built up a list of say 200 campaigns that he has joined, and hence should never see in any search results again.

I know this functionality could be achieved by simply building a longer and longer negation query negating all the campaigns that a user already has joined. I would assume that this would become slow and ineffective eventually.

My question is: is there a better way to do this?

Thanks
Alec

Reply via email to