Not quite as elegant, but try: ThinkingSphinx.deltas_enabled = false # do stuff ThinkingSphinx.deltas_enabled = true
Cheers -- Pat On 06/05/2011, at 12:04 AM, Pedro Cunha wrote: > This is model specific right? > > Do I have a global option? > > Tryed > > ThinkingSphinx.suspended_delta do ... > > But didn't seem to work > > Cheers > > On May 5, 12:03 am, James Healy <[email protected]> wrote: >> On 5 May 2011 07:44, Pedro Cunha <[email protected]> wrote: >> >>> Do I have an explicit option to prevent queuing this job and then just >>> queue 1 after all data is inserted on DB? >> >> Try this: >> >> IndexedModel.suspended_delta do >> # import code goes here >> end >> >> James > > -- > 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.
