Hi Ngan

The order isn't essential - but here's what each task does:

* DeltaJob runs the Sphinx indexer on the appropriate delta index.
* FlagAsDeletedJob marks the original record in the core index as deleted, so 
only the delta record is used in searches.

So, search results may not be completely accurate until both jobs are run, but 
the order shouldn't matter.

Cheers

-- 
Pat

On 25/06/2012, at 6:49 PM, Ngan wrote:

> Hi, I noticed that we you update an indexed model and you have ts-dd running, 
> it'll spawn off two jobs:
> 
> DeltaJob and FlagAsDeletedJob.
> 
> Can you briefly explain what these jobs do?
> More importantly, does DeltaJob have to be ran BEFORE FlagAsDeletedJob?
> By nature, if you have a distributed DJ setup (multiple workers), job work 
> off order isn't 100% guaranteed.  Would there be any problems if 
> FlagAsDeletedJob ran/finished first?
> 
> Thanks,
> Ngan
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/thinking-sphinx/-/DWKU-aRNUtAJ.
> 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.

Reply via email to