Displaying 1 result from an estimated 1 matches for "beanbag".
Did you mean:
banban
2006 Nov 23
0
Two repeatable crash bugs in Ferret proper
...ld_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.search( "file_name:\"yo\"" )
puts index[docs.hits[0].doc][:phile_id]
# Does not work; will...