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? -- Posted via http://www.ruby-forum.com/.
Jens Kraemer
2007-Jul-10 08:17 UTC
[Ferret-talk] ferret (0.11.4-mswin32) w/ acts as ferret
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 kraemer at webit.de | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa