On Mon, Jul 30, 2007 at 09:18:33AM -0400, Erik Morton wrote: > It's strange, I'm actually getting the Bus Error anytime I call > latest? on RDig's index reader. The index is no longer being rebuilt. > It's interesting because the following lines were commented out of my > version of RDig: > # if @ferret_searcher and [EMAIL PROTECTED] > # # reopen searcher > # @ferret_searcher.close > # @ferret_searcher = nil > # end > So this has obviously happened before. I must have commented these > lines out myself :-/ > > On linux I get the following: > >> RDig.searcher.ferret_searcher.reader.latest? > (irb):5: [BUG] Segmentation fault > ruby 1.8.4 (2005-12-24) [i386-linux]
Ah yes :-) If your reader looks at two sub-readers for different indexes (as it seems to do, if I got your first mail right) you'll have to call latest? on each of the sub readers to get around this. I do the same in acts_as_ferret's MultiIndex class. 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 [EMAIL PROTECTED] | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

