And on another note, there's also a global setting: ThinkingSphinx.suppress_delta_output = false
Add that to environment.rb and you won't see delta output. Cheers -- Pat On 17/05/2009, at 11:59 PM, James Healy wrote: > > Don Morrison wrote: >> I just recently started using deltas and noticed a bunch of messages >> while working on some date import logic. I am using the built-in TS >> rake tasks to maintain (start/stop/restart) Sphinx and don't see a >> way >> to pass --quiet to indexer so I can kill off the delta indexing >> information for each imported record. >> >> Any thoughts? (I know I could create my own rake tasks, and I will if >> I must - but thought it better to ask before I go off 'the path') > > I don't know of a way to to stop the log messages being output, but if > you're doing bulk imports you can make the delta indexes rebuild just > once at the end of the import: > > Model.suspended_delta do > ... > import code.. > ... > end > > That will mean you only see the indexer output once and significantly > speed up your imports. > > -- James Healy <jimmy-at-deefa-dot-com> Mon, 18 May 2009 16:56:49 > +1000 > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
