similar to: Ferret best practice

Displaying 20 results from an estimated 60000 matches similar to: "Ferret best practice"

2007 Aug 31
4
ferret acts_as_ferret and performance
hello, I am actually indexing thousands of 1ko text documents using ferret and acts_as_ferret, and i face performance problems. I takes me hours to index 20 000 1ko text documents. Methology used : I create and object, fulfill it with the text, and save it. So it is automaticly indexed. Is there a way to make it faster ? ( remove the auto optimize option somewhere ?) Thank you if you have any
2005 Dec 21
0
Ferret and Rails transaction
Hi, following the discussion about acts_as_ferret on the Rails mailinglist, there was an issue about transactions, which could result in beind the database and ferret out of sync. I have taken a different approach from acts_as_ferret trying to resolve the transaction problem. Instead of adding things to the ferret index in the model, I have added it in the controller. I have only the create part
2008 Jan 29
0
Ferret-talk Digest, Vol 27, Issue 7
Thanks for the response Jens. Indeed I am sorting by something other than relevancy, so that would explain it. Optimized, it''s extremely fast and handles a good load, but new records kill it until I optimize. I haven''t tried :merge_factor as I wasn''t aware of it. I''m not sure it will help given the above. Regarding the re-index locking code,
2007 May 15
2
What is the day to day maintenance requirements of ferret?
What should I be doing to maintain ferret and help prevent index corruption? Do I need to rebuild it manually every night/week/day? -- Posted via http://www.ruby-forum.com/.
2006 Mar 06
1
C version of ferret?
Hey Dave, I understand you''ve been very busy lately, but I was really excited when you said before Christmas sometime that you were soon to release a fast C version of ferret. Is that still in the works? Do you have even a rough ETA? I have a rails site that would greatly benefit from it. Thanks, Carl -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 04
5
How to install Ferret to get the best performance
Hey all, After dabbling with ActiveSearch, we''re coming back around to take another look at Ferret. ActiveSearch slowed to a crawl after indexing about 20k documents, each 20 lines each. This time we may attempt to create multiple Ferret indexes (isolating each organization''s data individually), since we eventually could have upwards of 20k documents for some
2007 Mar 30
1
Fwd: New Short Cut: Ferret
Congrats David!!! Very cool. Erik Begin forwarded message: > From: "O''Reilly Media" <ormadmin at oreilly.com> > Date: March 30, 2007 6:22:36 PM EDT > To: erik at ehatchersolutions.com > Subject: New Short Cut: Ferret > > ***New from the O''Reilly Store*** > > Ferret > http://www.oreilly.com/catalog/9780596527853 > > By David
2006 Aug 17
3
Ferret locks up when adding items to an index
I''m running Ferret 0.9.5 on a MacBook Pro (OS X 10.4.7) under Locomotive 2.0.7. I have a problem where Ferret is hanging when I try to add items to the index. It doesn''t happen with every object that''s being indexed, and I''m not sure what the objects in question have in common (they are not all instances of the same ActiveRecord object). The process
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''
2006 Dec 22
0
Error using Ferret - ferret/index.rb:271:in `delete''
We are using Ferret on our site answeru.com. Today all of a sudden we started getting Ferret errors while users were trying to register or log into the system. I am not a Ferret techie - I apologize if a similar problem has already been asked or if it is not really a Ferret issue. Any ideas: IO Error occured at <except.c>:79 in xraise Error occured in fs_store.c:324 - fs_open_input
2006 Nov 30
2
Fatal error when require ferret
Hello list, I just started using ferret and it really doesn''t go my way. Doing gem install ferret outputs -> make install /usr/bin/install -c -m 0755 ferret_ext.so /var/lib/gems/1.8/gems/ ferret-0.10.13/lib make clean Successfully installed ferret-0.10.13 Installing ri documentation for ferret-0.10.13... Installing RDoc documentation for ferret-0.10.13... In ferret.rb ->
2007 Jan 11
1
Ferret Locking issues
Dave and all, I run a medium RoR app using Ferret and acts_as_ferret. I get a lot of lock errors. Not always but around 5% of all searches (aspecially during peak periods). Here are the messages I get: A NameError occurred in szukaj#index: uninitialized constant Ferret::Index::Index::LockError [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:478:in
2005 Nov 22
1
Ferret NoMethodError
Using the current ferret gem (on Win-XP): irb(main):001:0> require ''ferret'' c:/ruby/lib/ruby/1.8/fileutils.rb:950: warning: already initialized constant OPT_TABLE => true irb(main):002:0> include Ferret => Object irb(main):003:0> index = Index::Index.new => #<Ferret::Index::Index:0x3477ba8 @qp=nil, ...> irb(main):004:0> index << "This is
2007 Apr 13
4
[Ferret] QueryParser memory leak bug (Joyent/OpenSolaris)
QueryParser fails badly allocating enormous amount of memory when processing query strings with special/accented characters. See: irb(main):002:0> require ''rubygems'' irb(main):003:0> require ''ferret'' irb(main):004:0> include Ferret irb(main):005:0> index = Index::Index.new irb(main):008:0> index << "something" # Now the error
2006 Feb 10
0
Ferret Trampling Namespace
Greetings. Apologies if I missed something like this in the archives or internet, but I''m having issues using Ferret with Rails. Specifically, I have a class class "Weight" in my application (it happens to be a model). My app runs perfectly fine until it first executes "require ''ferret''". At that point, my definition of the class "Weight"
2006 Nov 23
0
Two repeatable crash bugs in Ferret proper
Hi guys! Been reading this list for a while. I have two repeatable Ferret crash bugs, both seg faults. 1. The first bug appears to seg fault Ferret when you use quotes in a search argument (eg ''file_name:"file name"'') 2. The second bug appears to seg fault Ferret when you attempt to index text with very long tokens (above 256 chars). It may have something to do with
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
2005 Dec 14
2
undefined method `add'' for Ferret::Search::BooleanQuery
Up to now in my ferret development I have been using simple single-word strings as my search queries. I just now am trying to increase the complexity of my queries. When I was passing a single word with no spaces in my index searches, like so: count = index.search_each(''testing'') do |d, s| ... end everything worked fine. But now when I do something like this: count =
2007 Apr 09
0
Problem with Ferret on OS X with Locomotive
I am using Locomotive 2.0.8 with Rails 1.2.3 for development. It works great. I recently installed Ferret 0.11.4 as a gem. The installation seemed to go fine. No error or warning messages. I setup a test rails app to try Ferret, and the server won''t start. The error I get is /Applications/Locomotive2/Bundles/rmagickRailsJan2007_x86.locobundle/
2007 Mar 06
2
ferret 0.11.3 - File Not Found
Hi, I noticed a 0.11.3 release and gave it a whirl. I''ve so far not been able to reproduce any segfaults with my ferret_killer[1] script, though I do get some errors. when the searching process is running and I start the indexing process, I immediately get: /usr/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib/ferret/index.rb:692:in `latest?'': File Not Found Error occured at