search for: segment_info

Displaying 3 results from an estimated 3 matches for "segment_info".

Did you mean: segmentinfo
2006 May 10
1
acts_as_ferret choking
...cms/branches/nodes/vendor/plugins/ > acts_as_ferret/lib/acts_as_ferret.rb:407:in `ferret_update'' > (...) The problem seems to be caused by the following code in acts_as_ferret: @sub_readers.each { |r| return false unless r.latest? } which, in turn, causes a NoMethodError because @segment_infos is nil. The problem (or, at least, the symptom) goes away when I add a rescue clause inside the block that gets passed to @sub_readers.each, but it feels like a bad way of solving it. Anyone who knows why this happens in the first place? And what should I do to avoid it? //samuel _______...
2006 Jun 14
3
In memory IndexReader bug?
Hi All, Hope all is going well. I''m having trouble with the following code creating an in memory index reader - it seems to be attempting to read from a file regardless. Here''s the simple code: require ''rubygems'' require ''ferret'' a = Ferret::Index::Index.new r = Ferret::Index::IndexReader.new(nil) Running the code on my OS X machine
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which does not have a sys/dir.h nix_io.c:5:21: sys/dir.h: No such file or directory make: *** [nix_io.o] Error 1 I couldn''t find an obvious way around this... any suggestions? Thanks, Rich Marisa Cornell Information Technologies Cornell University