etienne.durand at woa.hu
2006-Mar-31 21:03 UTC
[Ferret-talk] undefined method `<=>'' for :id:Symbol
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 -- Posted via http://www.ruby-forum.com/.
This bug has been fixed in the subversion repository. I''ll release 0.9.1 soon. On 4/1/06, etienne.durand at woa.hu <etienne.durand at woa.hu> wrote:> 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 > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >
etienne.durand at woa.hu
2006-Apr-01 05:52 UTC
[Ferret-talk] undefined method `<=>'' for :id:Symbol
Thanks David, tests now pass with dev version. When do you plan to release 0.9.1? -- Posted via http://www.ruby-forum.com/.
On 4/1/06, etienne.durand at woa.hu <etienne.durand at woa.hu> 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.> > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >