Upgrading to 0.9.0, I have the following error. Anybody? c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/index/term.rb:35:in `<=>': undefined method `<=>' for :id:Symbol (NoMethodError) from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/index/term_infos_io.rb:263:in `get_index_offset' from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/index/term_infos_io.rb:162:in `get_term_info' from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/index/segment_reader.rb:176:in `doc_freq' from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/search/index_searcher.rb:47:in `doc_freq' from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/search/term_query.rb:13:in `initialize' from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/search/term_query.rb:99:in `create_weight' from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/search/query.rb:51:in `weight' from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/search/index_searcher.rb:151:in `search_each' ... 23 levels... from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1850:in `each_with_index' from C:/tmp/agora/trunk/db/content/import.rb:27 from C:/tmp/agora/trunk/db/content/import.rb:20 from C:/tmp/agora/trunk/db/content/import.rb:13
on 2006-03-31 23:03
on 2006-04-01 07:16
This bug has been fixed in the subversion repository. I'll release 0.9.1 soon.
on 2006-04-01 07:52
Thanks David, tests now pass with dev version. When do you plan to release 0.9.1?
on 2006-04-01 09:02
On 4/1/06, email@example.com <firstname.lastname@example.org> wrote: > Thanks David, tests now pass with dev version. > When do you plan to release 0.9.1? Monday. It will include UTF-8 support and the standard analyzer should work on any language that uses spaces as word delimeters. It will also include the snowball stemmer. http://snowball.tartarus.org/ It'll still be an alpha release though.