search for: thread_index_dir

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

2007 Jan 01
2
Possible Bug when Creating Indexes
...s follows: field_infos = FieldInfos.new(:store => :yes, :term_vector => :no, :index => :yes) field_infos.add_field(:id, :index => :untokenized) field_infos.add_field(:subject) field_infos.add_field(:author) field_infos.add_field(: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 (e...