0 down vote favorite
        

I am trying to implement an activity feed for a website, and planning to use
Solr for this case. As it does not have any follower/following relation,
Solr is fitting for the requirements.

There is one point which makes me concerned about performance. So as user A,
I may have 10K activities in the feed, and then I have updated my
preferences, so the activities that I have posted should be updated too
(imagine that I am changing my user name, so all of the activities would
have my new username). In order to update the all 10K activities, i need to
retrieve the unique document ids from Solr, then update them. Retrieving 10K
docs at once is not a good idea, if you imagine bunch of other users are
also doing a similar change. I have checked docs and forums, using Cursors
on Solr seems ok, but still makes me thing about the performance (after id
retrieval, i need to update each activity)

Are there any other ways to handle this withou Cursors? Or I should better
use another tool/backend to have something like a username - activity_id
mapping, so i can directly retrieve the ids to update?

Regards,




-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Retrieving-and-updating-large-set-of-documents-on-Solr-4-7-2-tp4153457.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to