search for: acts_as_ferret

Displaying 20 results from an estimated 579 matches for "acts_as_ferret".

2006 Oct 09
2
hello, acts_as_ferret questions, any help greatly appreciate
hi, ive been reading up on ferret, acts_as_ferret, and other search plugins for rails. after reading about ferret, i found out about the acts_as_ferrt plugin. my first question about acts_as_ferret: 1. from reading about ferret, do i still need to manually save the IDX and add a IDX column field to my model table for acts_as_ferret to work?...
2007 Jul 17
3
two acts_as_ferret questions!
hi, guys: two acts_as_ferret questions! 1, ruby script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret sh: svn: command not found i can not install acts_as_ferret to my Rails project. what''s wrong? i''m useing rhel 4! 2, i downloaded the acts_as_ferret-0.4.0.tgz at http://...
2008 Jan 21
4
Rails app cannot connect to Ferret server
I have installet the Ferret gem v. 0.11.6 and the latest acts_as_ferret plugin from svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret I''ve followed the instructions here http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer to set up the server, and put acts_as_ferret :remote => true on one of my models (Ad) I can also start the...
2006 Apr 13
10
Typo and acts_as_ferret rebuild_index errror
Hi, I''m running the edge Typo and the latest acts_as_ferret plugin and ferret gems (as of 11 April). In my Content model I put acts_as_ferret :fields => [:title, :body] In the console, I call Content.rebuild_index to index all of my existing content. All the directories get created etc, but I get the following error back: Loading development enviro...
2007 Jul 11
1
plugin not loading for model? (acts_as_ferret)
Hi all, I''m using the older win32 happy backgroundrb in combination with the ''acts_as_ferret'' install as a plugin. Since I''ve installed acts_as_ferret, I haven''t been able to get backgroundrb to start. It keeps failing at the ''acts_as_ferret'' method call in one of my models. Here''s a code snippet of the model: class Book < ActiveR...
2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
Hello, I''ve installed the Ferret gem and also got the act_as_ferret code from the wiki. I''ve set up my model "Branch" to act as ferret using the code below. acts_as_ferret :options => {:fields => [''name'', ''body_text'', ''address'']} I''ve also set up a ferret_controller with the code below def find if params[:search_terms] @branch_results = Branch.find_by_contents(params[:search_terms]) rend...
2007 Jul 04
2
problems after gem update
...; Its indexing only null values! and in the app(here''s the stack), ArgumentError in SearchController#search wrong number of arguments (1 for 0) RAILS_ROOT: C:/INSTAN~1/rails_apps/clean/config/.. Application Trace | Framework Trace | Full Trace C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:220:in `ferret_enabled?'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:220:in `reindex_model'' C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/local_index.rb:219:in `each'' C:/INSTAN~1/ruby/lib/ruby...
2007 Jul 27
6
Problem with installing acts_as_ferret plugin
Hi all, when I type this: ruby script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret from my rails project the plugin is not getting installed, its simply going back to my rails application. I don''t find the plugin in the vendor/plugin directory I am using Instant Rails for your information. Could anyone please let me know whats going wrong.....
2007 Apr 19
5
Chinese full text searching by acts_as_ferret?
How to add Chinese language full text searching function by using acts_as_ferret? RegExpAnalyzer.new(/./,false) this analyzer, i don''t know how to use it! does it works like this: user searching---->acts_as_ferret---->ferret ???? -- Posted via http://www.ruby-forum.com/.
2007 Jun 01
2
Is aaf multi_search broken?
Hi all, I want to use acts_as_ferret''s multi_search to search two model classes (Reviewable and Blog) at a time like @results = Reviewable.multi_search("jemen", [Blog]) and I''m always getting the error You have a nil object when you didn''t expect it! You might have expected an instance of Array....
2006 Oct 25
3
i cant install acts_as_ferret
This is what happens when i try to get acts_as_ferret ...."nothing much".... Please help me and excuse me if its really dumb, i''m new to this! thanks C:\rails\app>gem install ferret Attempting local installation of ''ferret'' Local gem file not found: ferret*.gem Attempting remote installation of ''ferre...
2006 Jun 17
2
preventing indexing of an acts_as_ferret''d model?
Hi, this is hopefully an easy one, but I''ve gone through the api and searched past forum entries, and am drawing a blank. I have a model that with acts_as_ferret mixed in to it, which is working fine. But I want users to be able to set a ''private'' attribute on the model, and when it''s set to true, create and update methods would skip indexing. So, how can I prevent indexing of a usuaully-indexed model? Any help greatly appreciate...
2006 May 10
1
acts_as_ferret choking
...idn''t expect it!\nThe > error occured while evaluating nil.version"> > ---Backtrace--- > /opt/local/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/index/ > index_reader.rb:365:in `latest?'' > /Users/sk/Documents/svn/cms/branches/nodes/vendor/plugins/ > acts_as_ferret/lib/acts_as_ferret.rb:470:in `latest?'' > /Users/sk/Documents/svn/cms/branches/nodes/vendor/plugins/ > acts_as_ferret/lib/acts_as_ferret.rb:470:in `latest?'' > /opt/local/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/index/ > index.rb:635:in `ensure_reader_open'...
2006 Aug 12
4
Ferret Wierdness
Hi, I have installed the ferret gem (on WIN XP). My search and result view is working, but it comes back with empty results all the time. It seems like ferret is building the index (there is 3 binary files in the index directory). If I add the line: acts_as_ferret :fields => [''title'',''description'',''price'',''website_url''] to my advert model I get the following error: undefined method `acts_as_ferret'' for Advert:Class Please help, David -- Posted via http://www.ruby-forum.c...
2006 Jun 01
1
Using acts_as_ferret outside rails
How do I use a model that has "acts_as_ferret" defined outside rails? I''ve tried adding this to the top of my model: require "#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb" and then defining RAILS_ROOT and RAILS_ENV in my app that uses the model outside rails. That got me this exception: ../vendor...
2006 May 18
1
multi_search problem
...indices and can search on each model individually using the Rails console. Here is the output from the console. >> Post.multi_search(''new'', [Message, WikiPage]) ArgumentError: wrong number of arguments (1 for 0) from ./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:441:in `initialize'' from ./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:441:in `create_new_multi_reader'' from ./script/../config/../config/../vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:406:in...
2006 Aug 19
4
acts_as_ferret causing strange behaviour
I posted this issue as a bug on the acts_as_ferret trac (http://projects.jkraemer.net/acts_as_ferret/ticket/36) but need to get this working asap. so hopefully someone can point me in the right direction. To try and sum this up in better terms than I used in the original bug report, the problem I am experiencing seems to be related to the fact...
2006 Jul 06
5
acts_as_ferret Locale issue
I''ve just installed acts_as_ferret, and am trying to build my index, but I''m getting the following error: >> r = Topic.find_by_contents(''testing'') StandardError: : Error occured at <analysis.c>:704 Error: exception 2 not handled: Error decoding input string. Check that you have the locale se...
2006 Aug 24
2
acts_as_ferret for Ferret 0.10
Hi all, the current acts_as_ferret trunk is now ported to Ferret 0.10. Get it while it''s hot at svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin Nearly everything works, besides this: - all queries are ORed (no way to tell the QueryParser to build AND queries by default) - more_like_this is broken I''m...
2006 Aug 26
7
Erratic behavior with ferret 0.95 and acts_as_ferret
I am getting this issue also... Does anyone know what this is? When will Acts as Ferret be available for v10? Thanks for your help in desperation! Caspar wrote: > Okay previous post related to me trying to fix this problem with an > upgrade to ferret 0.10.0 but acts as ferret is obviously not compatible > with this new version of ferret. > My app is about to go into production and