Hi Nick

I'm not sure what the best approach is - I've never hit that problem myself. 
Using one of those id filtering approaches sounds like a good place to start 
though.

Good luck - and let us know how you go :)

Cheers

-- 
Pat

On 25/02/2010, at 4:37 AM, Nick Sellen wrote:

> Hi,
> 
> I've got the delayed_job delta index configuration (as per
> http://freelancing-god.github.com/ts/en/deltas.html). It takes a 2-4
> seconds to update the delta index after making a change which is fine
> given the process - but too slow for the purpose.
> 
> I'm storing users favourites in the index which means when a user adds
> (or removes) an item to their favourites they get returned to a screen
> that hasn't yet updated with the correct information.
> 
> I'm looking at storing an in-memory record of recent changes - then
> adding/removing these ids from a search using :without_ids => ids
> or :with => { :sphinx_internal_id => ids } (seeing as :with_ids hasn't
> been implemented like :without_ids has)
> 
> or - maybe just not storing the favouriting information in the index
> at all and doing it all by adding item ids to the search conditions.
> 
> any thoughts on this?
> 
> (really useful library by the way, thanks!)
> 
> -- nick
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to