search for: build_ferret_index

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

2007 Jan 01
2
Possible Bug when Creating Indexes
...d(:tags, :store => :no) index = field_infos.create_index(THREAD_INDEX_DIR) then try to add to the index as follows: index << {:id => 1, :subject => "test subject", :author => "test author", :tags => "tags, like, this"} I get the following error: build_ferret_index.rb:39:in `<<'': wrong argument type Hash (expected Data) (TypeError) **************** When I create the index as follows: field_infos = FieldInfos.new(:store => :yes, :term_vector => :no, :index => :yes) field_infos.add_field(:id, :index => :untokenized) field_infos.add...