search for: exercisequotebugindex

Displaying 1 result from an estimated 1 matches for "exercisequotebugindex".

2006 Nov 23
0
Two repeatable crash bugs in Ferret proper
...y, the omit_norms is required to exercise the bug. field_infos = Ferret::Index::FieldInfos.new(:index => :omit_norms) field_infos.add_field( :phile_id ) field_infos.add_field( :file_name ) index = Ferret::Index::Index.new( :field_infos => field_infos, :path =>''./exercisequotebugindex'', :create => true ) index << { :file_name => "[new] Yo La Tengo - Beanbag Chair.mp3", :phile_id => "428570" } # Works docs = index.search( "file_name:''yo la''" ) puts index[docs.hits[0].doc][:phile_id] docs = index.se...