similar to: Limit on database size?

Displaying 20 results from an estimated 60000 matches similar to: "Limit on database size?"

2006 Sep 29
4
limit results to specific IDs
How would you go about searching only a specific set of IDs in acts_as_ferret? Should I just create a huge "or" query or is there a more stylish way? Thanks, Winton -- Posted via http://www.ruby-forum.com/.
2007 May 30
2
How to search with limit by field
Hello, I have a ferret index with 2 fields: Acts_as_ferret :fields => [:client, :content] If I do model.find_by_contents(query) I obtain all results by the query but I would like to obtain 3 results for each client. Any ideas? Thanks for all. -- Posted via http://www.ruby-forum.com/.
2006 Sep 20
5
acts_as_ferret limit on multi_search not working?
I''m using acts_as_ferret to do a query like this: Model1.multi_search("my query",[Model2,Model3], :limit => 2) No matter what number i set limit to I get 10 items in the resultset. Am I doing something wrong? Thanks/David -- Posted via http://www.ruby-forum.com/.
2006 Aug 10
1
Indexing weirdness
Hi, I''m having some problems with acts_as_ferret and indexing. I''ve got a simple 5 column table, and a corresponding Ruby model. I loaded 9 rows directly into the table using mysql (for live it''ll be about .5mil rows) and configured a Rails search page along the exact same lines as ferret_demo. Unfortunately, search wouldn''t return any results; following
2007 Jun 04
1
Ferret install on WinXP fails - procedure entry point rb_w32
Hello. I''m trying to use the ''acts_as_ferret'' gem with Rails. Rails: 1.1.4 and 1.2.3 OS: WinXP I''ve installed both Ferret and the plugin using Ruby Gems: C:\>gem install ferret Successfully installed ferret-0.11.4-mswin32 Installing ri documentation for ferret-0.11.4-mswin32... Installing RDoc documentation for ferret-0.11.4-mswin32... C:\>gem install
2006 Jul 29
2
Searches limited to 10 results?
Hello all, I''ve just recently gotten my ActiveRecord models indexed properly in my Rails App. Woohoo! So I''ve started testing some searches. Is there some limit to acts_as_ferret that only allows it to return 10 results? I''m searching for common terms in my data that I _know_ return many results, but I only ever get at most 10 results. This is in a db with 350k
2006 May 18
1
multi_search problem
I am running into the following error when I try to search across multiple models with multi_search() I have rebuilt the 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
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://rubyforge.org/frs/?group_id=2916&release_id=10617 and uploaded to
2006 May 10
1
acts_as_ferret choking
Hi all, I''ve ran into a problem with Ferret on my rails app, and I don''t really have a clue about why. When running the unit tests, I get the following error output: > Exception raised: > Class: <NoMethodError> > Message: <"You have a nil object when you didn''t expect it!\nThe > error occured while evaluating nil.version"> >
2006 Nov 06
1
NameError uninitialized constant Ferret::Index::FieldInfos
Hi Everyone, I''ve a RoR application. I am trying to build full text search capability into it. I installed Ferret. After that I installed the act_as_ferret plugin. I''ve also put the acts_as_ferret inside the <model>.rb file . I''m using the find_by_contents to get the search results. I''m getting the following error. I''ve no clue and I
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 working with Dave to fix these things soon. The last Ferret 0.9.x
2006 Jul 07
0
acts_as_ferret transactions
acts_as_ferret does not handle transaction aborts properly. If a model is modified but something latter causes the transaction it was wrapped in to abort, the ferret index will not revert to the original record data. I have included a klunky patch to defer modifying the ferret index until after the current transaction commits. It would seem prudent to resolve this issue, though I
2007 Mar 25
1
kind of stuck with new version of ferret gem
.... #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:201:in `send'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:201:in `rebuild_index'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:198:in `rebuild_index'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:197:in `rebuild_index''
2007 Apr 18
1
stack level too deep for method missing when using drb
I set up ferret and it''s running fine normally. Now I want to hook up the backgroundrb server. However whenever I try to do a search, I get this error: (druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in `method_missing'' (druby://localhost:9010) ./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in `find_id_by_contents'' (druby://localhost:9010)
2006 Sep 27
2
Seg Fault - crashed our server
We were using ferret (with acts_as_ferret) on our production boxes. Everything was going OK for a few days then we got a seg fault from it that brought down the box. The specs: * Rails 1.1.6 * Ruby 1.8.4 * Ferret 0.10.6 * RedHat ES 3 * Apache * Pound * 5 instances of Mongrel Can ferret handle multiple processes accessing it''s files at the same time? Not that we were doing this (but
2006 May 18
2
acts_as_ferret 0.2.1
The svn repository for acts_as_ferret has just been tagged with version 0.2.1. This is the first version of aaf to support the 0.9.x branch of Ferret. See http://projects.jkraemer.net/acts_as_ferret/wiki *Features* * High speed full text search across the contents of any Rails model class, without any hassles. The index will be kept up to date automagically while you work with your Rails
2007 Oct 03
3
The ferret logs
Hi. We''ve had some problems with ferret not being able to load our classes (stack trace below for the curious). I nailed it down to a deployment issue, where an old instance of ferret drb was running. I don''t understand the details quite yet, but the result was the the old ferret was never shutdown during redeployment, and attempts were made to start up a new one. Anywho,
2007 Jul 04
2
problems after gem update
Hi, I had ferret working wonderfully but i am regretting doing a gem update today. I had alot of trouble first installing it and was really happy to have it working. The upgrade was from 0.3.1 to 0.4.0. The problem is; in the rails console, >> @results = Book.find_by_contents("peter pan") => #<ActsAsFerret::SearchResults:0x487040c @total_hits=0, @results=[]> Its indexing
2006 Dec 01
2
more_like_this not working?
Hi all, using ferret 0.10.13 and aaf trunk, i cannot get more_like_this to work. I read other posts on this forum related to that, but that did not solve it. I have a model Question with a field question_text. I do: ----------------------------------------------- >> q = Question.find(:first) >> q.more_like_this NoMethodError: You have a nil object when you didn''t expect
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 ''ferret'' Updating Gem source index for: