# Ferret (0.11.4-mswin32) w/ acts as ferret

**URL:** <https://www.ruby-forum.com/t/ferret-0-11-4-mswin32-w-acts-as-ferret/108755>\
**Category:** Ferret\
**Created:** [July 6, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/ferret-0-11-4-mswin32-w-acts-as-ferret/108755 "2007-07-06T18:41:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![neongrau](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neongrau](https://www.ruby-forum.com/u/neongrau)\
**Post date:** [July 6, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/ferret-0-11-4-mswin32-w-acts-as-ferret/108755/1 "2007-07-06T18:41:57Z")

</div>

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”:

is it required to manually delete the existing index files before a  
rebuild?

---

<div class="post-metadata">

**Author:** ![neongrau](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neongrau](https://www.ruby-forum.com/u/neongrau)\
**Post date:** [July 10, 2007, 10:17am UTC](https://www.ruby-forum.com/t/ferret-0-11-4-mswin32-w-acts-as-ferret/108755/2 "2007-07-10T10:17:55Z")

</div>

On Fri, Jul 06, 2007 at 06:41:57PM +0200, neongrau \_\_ wrote:

> 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”:
> 
> 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  
removed\_email\_address@domain.invalid | [www.webit.de](http://www.webit.de)

Amtsgericht Dresden | HRB 15422  
GF Sven Haubold, Hagen Malessa
