On Sat, Nov 10, 2007 at 06:41:34PM +0800, Alex Neth wrote: > Thanks Stuart. I thought I had read somewhere that rebuild_index > built the index in a different location and then swapped it, but > after looking at the code (in local_index.rb) this doesn't appear to > be the case. That might explain why the ferret server crashes > sometimes when a search takes place during a reindex.
have a look at the rebuild_index implementation in ferret_server.rb, that's the one which is used in DRb mode. And yes, it rebuilds the index in the background while running searches on the old one, so the index swapping logic in there might be a doog starting point for you. Cheers, Jens -- Jens Krämer http://www.jkraemer.net/ - Blog http://www.omdb.org/ - The new free film database _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

