Use sphinx instead of ferret pat allan has written a beautiful plugin to incorporate sphinx called thinking sphinx i would advice you to use sphinx .
On 10/28/09, RubyonRails_newbie <craigwest...@googlemail.com> wrote: > > I have found a log file if it helps... > > It doesn't mean a lot to me though... > > Query: username1 > total hits: 0, results delivered: 0 > [user] register class User with index user > [user] refusing re-registration of class User > index_for [User(id: integer, username: string, email: string, > password: string, created_at: datetime, updated_at: datetime, > authorization_token: string)] > options: {:page=>nil, :offset=>0, :limit=>:all} > ar_options: {} > [user] stored_fields: nil > > > On 27 Oct, 18:21, RubyonRails_newbie <craigwest...@googlemail.com> > wrote: >> Ah actually, in Terminal there is this: >> >> configured index for class Info: >> {:ferret_fields=>{"username"=> >> {:term_vector=>:with_positions_offsets, :boost=>1.0, :highlight=>:yes, >> :via=>"username", :store=>:no, :index=>:yes}, >> "email"=> >> {:term_vector=>:with_positions_offsets, :boost=>1.0, :highlight=>:yes, >> :via=>"email", :store=>:no, :index=>:yes}}, :user_default_field=>nil, >> :enabled=>true, :fields=> >> ["username", "email"], :index_dir=>"/Users/me/apps/ruby/project_test/ >> index/development/ >> info", :mysql_fast_batches=>true, :single_index=>false, >> :index_base_dir=>"/ >> Users/me/apps/ruby/project_test/index/development/ >> info", :name=>:info, :reindex_batch_size=>1000, :raise_drb_errors=>false, >> :registered_models=> >> [Info(id: integer, user_id: integer, first_name: string, last_name: >> string, gender: string, birthdate: date, city: string, ski_snowboard: >> string)], :ferret=>{:default_field=>["username", "email"], :path=>"/ >> Users/me/apps/ruby/project_test/index/development/ >> info", :analyzer=>#<Ferret::Analysis::StandardAnalyzer: >> 0x26db044>, :lock_retry_time=>2, :auto_flush=>true, :or_default=>false, >> :key=>:key, :dir=>#<Ferret::Store::FSDirectory: >> 0x26c8d04>, :handle_parse_errors=>true, :create_if_missing=>true}} >> >> But I don't get why it isnt returning anything >> >> On 27 Oct, 16:34, Marnen Laibow-Koser <rails-mailing-l...@andreas- >> >> >> >> s.net> wrote: >> > RubyonRails_newbie wrote: >> > > what have I missed? >> >> > > I'm new to ruby on rails, and followed the tutorial to set it up.. >> >> > > What other config do I need??? >> >> > How should we know, without any info on what errors you're getting? >> >> > Best, >> > -- >> > Marnen Laibow-Koserhttp://www.marnen.org >> > mar...@marnen.org >> > -- >> > Posted viahttp://www.ruby-forum.com/. > > > -- Krishnaprasad Varma --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---