Jens K. wrote:
hm, I have this snippet running here without problems (Ferret 0.10.13 on
Jens, thanks for trying it. Your snippet works perfectly for me as well,
so I modified it til I could get it to fail again. I should have
mentioned that I’m working with sizable indexes (10000-1000000 entries).
Anyway, here’s another version that crashes for me. Here I build an
index from my system’s man files:
i = Ferret::I.new #:path=>‘temp_index’
reader.term_vector(n,:text) unless reader.deleted?(n)
This problem seems to be fairly sensitive to initial conditions.
Printing out each term vector as it is found, like you did in your
snippet, makes the problem go away.
I also have 0.10.13, but the problem seems to be common to all the 0.10