I've not used datetime delta indexing myself (well, beyond testing  
it), so not sure what the issue could be.

When it stales - are you killing the process manually? I don't suppose  
it's possible to get a stack trace of where it gets stuck?

Also: suspended_delta is only really useful for the other two delta  
methods, because you're right, in the datetime approach, indexing  
doesn't happen automatically.

-- 
Pat

On 27/05/2009, at 8:37 AM, Elad Meidar wrote:

>
> Hi Guys,
>
> I moved from the default delta method to the datetime delta method in
> order to provide some breathing space for my app (~10,000 insert per
> hour, i can't index deltas after each insert).
>
> I also wrapped a part of my code that invokes the inserts (about ~400
> inserts for each call) with Model.suspended_deltas block, which
> supposed to postpone the  call to the indexer. (when i think of it, in
> datetime it's not supposed to be called automatically anyway).
>
> My problem is when i run 'rake ts:in:delta' from the command line, it
> runs smoothly and deltas are showing on search results. but when i set
> it up as a cron job, some times it just stales for hour +, or finish
> successfully but deltas are not showing on search.
>
> Any idea?
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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