On Fri, Jul 06, 2007 at 06:41:57PM +0200, neongrau __ wrote: > i'm indexing a table from some legacy db via a nightly executed > script/runner command (LegacyInfobase.rebuild_index). > > but very often newer documents don't show up in search results for quite > some days. when running it manually from console for diagnosis it mostly > stops with this error (but not always): > > > [This was fast-saved 1 times. Some information is lost] > IOError: IO Error occured: > couldn't rename file > "./script/../config/../config/../index/production/legacy_in > fobase\_3d4.tmp" to > "./script/../config/../config/../index/production/legacy_inf > obase\_3d4.cfs": <File exists> > > is it required to manually delete the existing index files before a > rebuild?
no, usually not. But make sure nobody else uses the index while you're rebuilding it. Use the DRb server if you can't ensure this, it takes care then. 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

