Hi Elad I realise I've probably asked this before - but I guess it could have changed with all the work you've been doing on trying to get this working: what's the contents of your config/sphinx.yml file?
-- Pat On 27/05/2009, at 6:05 PM, Elad Meidar wrote: > > Well. i replaced the method back to the default delta (since i found > about suspended_delta). and now it's not indexing the delta when > finishing the suspended_delta block in the controller, > if i do it in the console, index_delta is invoked and deltas are > loaded. > > this is my code > http://pastie.org/492200 > > supposably i should see in the log/searchd.log some indication of > delta index rotation right? anyway this is not working on the > controller, but in console it's ok... ideas? > > > On May 27, 4:08 pm, Pat Allan <[email protected]> wrote: >> 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 -~----------~----~----~----~------~----~------~--~---
