Okay, it's in. set_property :delta => :datetime, :threshold => 1.day, :delta_column => :updated_at rake thinking_sphinx:index:delta rake ts:in:delta
Threshold defaults to 1 day and delta_column to updated_at, so you don't need to specify either of those if you don't need to. Ed Hickey's fork allows calling the delta task for specific indexes - I don't have that ability in my master just yet, but it would be nice to add in the future. Cheers -- Pat On 13/12/2008, at 1:26 PM, Pat Allan wrote: > > Hi Evan > > It's on my list of things to do - and there is a fork that does it > already - but not sure when I'll have time to merge it in. Life has > been insanely busy lately (as evidenced by my lack of responses for TS > support over the last month or two). I do want to be able to offer > both boolean and timestamp delta indexing, so having that flexibility > requires a bit more work beyond what the fork does. > > http://github.com/bassnode/thinking-sphinx > > Sorry I can't give you any timeframes. > > -- > Pat > > On 11/12/2008, at 5:43 AM, Evan wrote: > >> >> >> Hi Pat, >> >> Can you add delta to indexing by created_at/updated_at dates to >> Thinking Sphinx? Then I can tell people to use it instead of >> Ultrasphinx. >> >> The boolean flag is not good for large sites because means that the >> indexer cannot use a read slave in a straightforward way, and causes >> unpredictable MySQL performance as the various index pages for the >> column get pulled off of disk to be updated. >> >> Thanks, >> >> Evan >>> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
