On Mon, Dec 04, 2006 at 07:10:41PM +0100, Chris Williams wrote:
> Hi,
> Right now I'm having ferret index about 1.5million documents.  I plan on
> rebuilding the index on another machine and then copying the index over
> to the webserver.  I read in one of the other posts that ferret has to
> reopen the index to see any new changes.  Is there a way to script this?
> My frontend is a RoR app using AAF.

you could build a 'secret' action in your app that triggers the
reopening of the index. 

Or you check if your reader is reading from the current index before
using it with IndexReader#is_latest?

Jens

-- 
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to