>
> Not upset at all if you do it like that: have two index directories  
> and
> a symlink pointing to the one in use atm. Then sync to the currently
> unused index, change over the symlink and tell your mongrel to re-open
> it's searcher.

as Jens said, we're doing exactly that .. take a look at the
switching here:

http://bugs.omdb.org/browser/branches/2007.1/lib/omdb/ferret/lib/util.rb

we've also added a "last-switched" status file (0 byte with timestamp),
to notify mongrel of a new index. So mongrels are using the old index
unless the status file gets a newer timestamp.

http://bugs.omdb.org/browser/branches/2007.1/lib/omdb/ferret/searcher.rb

Ben

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to