Well, it's been a long time coming, but there's finally support for  
delayed deltas, using delayed_job (fittingly). It is an internal copy  
of dj, and I've not tested it with apps that also use the dj plugin,  
but it should play nicely. Please do test, though.

How to make it work?

In your define_index block:
set_property :delta => :delayed

To get the background task running:
rake thinking_sphinx:delta
or
rake ts:delta

I'm not convinced about the task name, so you're warned it may change  
(especially when deltas-by-timestamps is added - soon!).

I've tested it on various Rails versions (including 1.2.6), and as far  
as I can tell, it works as it should. I've added cucumber features to  
test it too, so I'm pretty happy with how it runs. That said, would  
appreciate hearing how it works for everyone else :)

Get the code from Github:
http://github.com/freelancing-god/thinking-sphinx/tree/master

Enjoy

-- 
Pat
e: [email protected]    || m: +614 1327 3337
w: http://freelancing-gods.com || t: twitter.com/pat
discworld: http://ausdwcon.org || skype: patallan


--~--~---------~--~----~------------~-------~--~----~
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