On Wed, Jul 04, 2007 at 11:46:14AM +0200, Miguel Carvalho wrote: > Hum, tks. > > Anyway, it's not desirable for us (for now) to have that implemented in > the backoffice. Is there a way of force reindex, for isntance, in a > rails cron?
of course, just call Model.rebuild_index Note that unless you use the DRb server this will truncate the index used for searching and rebuilt it in place. With the DRb server the new index is built in the background so searches won't be affected. Jens -- Jens Krämer webit! Gesellschaft für neue Medien mbH Schnorrstraße 76 | 01069 Dresden Telefon +49 351 46766-0 | Telefax +49 351 46766-66 [EMAIL PROTECTED] | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

