It works. But i think i have another issue now...
Because this bulk (see problem before) does not only create new records. Can update them. So if i understood correctly on a normal situation i would have 400 records 400 DeltaJob 400-new_records FlagAsDeletedJob But now since I skipped, at most I still need to Generate: 1 Delta Job 400-new_records FlagAsDeletedJob Right? Cheers On 5 May 2011 15:08, Pat Allan <[email protected]> wrote: > 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. > > -- 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.
