The threshold value should match how often you run the rake task - though it's better to run the task a little more often (say, every 50 minutes - or make the threshold 70 minutes - to allow for the time the rake task actually takes).
If you were running the rake task every two hours, then changes made in that first hour after you run it will not be caught, until you do a full reindex (which should still happen regularly - once a day, perhaps?). The threshold indicates how far back the rake task/delta index looks for changes. Hope this clears things up a bit. -- Pat On 06/04/2010, at 7:13 PM, iamacourser wrote: > default delta approach, it creates a noticeable speed decrease on busy > websites, because the delta indexing is run as part of each request > that makes a change to the model records. it's mean use :threshold => > 1.hour, it just index delta ever one hour? and so, if I > define :threshold => 1.hour, and I run rake > thinking_sphinx:index:delta command every two hours, or run rake > thinking_sphinx:index:delta every half hour, what will happen? > > -- > 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.
