Thanks so much Pat. On Thursday, May 15, 2014 5:21:46 PM UTC-4, Pat Allan wrote: > > Hi Greg > > This is the most reliable approach - though this will only work from TS > v3.0.3 onwards (but I certainly recommend using something more recent than > that): > > ThinkingSphinx::Deltas::IndexJob.new(‘lesson_delta').perform > > The `define_indexes` call from TS v2 no longer exists, so you don’t need > that line either. > > Cheers > > — > Pat > > On 16 May 2014, at 4:55 am, Greg DeVore <[email protected]<javascript:>> > wrote: > > In TS 2 I used to trigger delta indexes on multiple records like this. > > Lesson.where(:id => @lesson_ids).update_all(:delta => true) >> Lesson.define_indexes >> Lesson.index_delta > > > How would I do that in TS 3? I can't find a way to trigger delta indexes > after an update_all call. > > Thanks, > > Greg > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > Visit this group at http://groups.google.com/group/thinking-sphinx. > For more options, visit https://groups.google.com/d/optout. > > >
-- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/d/optout.
