similar to: acts_as_ferret choking

Displaying 20 results from an estimated 300 matches similar to: "acts_as_ferret choking"

2005 Jan 29
4
format question
how can I get a float to always print two decimal places? Thanks, Jamie
2005 Jul 08
2
Multiple language support
Hi I am a newbie on Rails. I am trying to figure out how to implement a multiple language site. How do you deal with navigation, error messages coming from Rails etc. Anybody have practical suggestions? Tnx -- PC -- PC __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2005 Jul 04
1
Localization problems with leeding html escaped ÅÄÖ
Hi All. When translating a string to in swedish, using HTML codes for å,ä,ö i have a minor problem. Eg: (se.yaml) ui_core_over: Över All I get when calling l(''ui_core_over'') in my view is "Ouml;ver" The leeding & is missing, making the page look silly. The HTML characters works fine as long as it''s not used as the first letter in the string.
2006 May 05
1
Is there any working way to search multiple indexes?
I''m running from the trunk, and hitting road blocks no matter which way I attempt to search across multiple indexes. I tried a MultiSearcher, but I can''t pass a string for the search query ms.search "iraq" TypeError: wrong argument type String (expected Data) So I tried creating a QueryParser to pass, but I can''t get the fields from the reader
2006 Jan 05
2
ActiveRecord callbacks not happening
Hi, I have a model class like so: class Candidate < ActiveRecord::Base validates_presence_of :name @@index = FerretConfig::INDEX def self.after_destroy puts "Ferret: after_destroy called" @@index.query_delete("+id:#{self.id} +ferret_class:#{self.class.name}") optimize_index end end But when I delete a record, the after_destroy is never called.
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
2011 May 21
1
predict.gls choking on levels of factor
I've got a gls formula that's a mix of continuous and ordered variables. I wanted to use gls because I wanted to use the varIdent structure. Anyway, attempts to use "predict.gls" choke with the error that the levels I use are not allowed for one of them -- the first one alphabetically, so I'd guess the second would have the same problem. So I have three linked questions --
2010 Apr 21
3
Asterisk choking on voice messages announcements
Hi Everyone, I have a weired situation where calls in and out are proceessed all right but when I dial *97 Asterisk is literally choking when it comes to announcements like "Password" or "Call from 205-456-2222". Each one of those announcements can take like 10+ seconds to finish with most of it not even compoundable. I run "top" and there is no heavy load on CPU or
2010 Nov 29
1
Sweave choking on \\ in filename
Dear all, Sweave chokes when using "\\" in the path to the Rnw file. Using "/" works fine. The problem is that Eclipse+StatET uses "\\" in the filename. And example of the error, traceback and sessionInfo are given below. Best regards, Thierry > Sweave("Q:\\BMK\\cursussen\\interne_opleiding\\deelnemerslijst.Rnw", syntax="SweaveSyntaxNoweb")
2005 Nov 26
3
Several questions about Ferret.
Hi. First of all I would like to say "thank you" to David for its really valuable work. Ferret is a great project and it have great future. Well now is my questions as beginner in Ferret. How to remove ALL documents from index. Remove files is not a solution. I am interesting in something like index.remove_index or something like this. What is a usual way of doing it?? What is the
2005 Dec 02
43
ANN: acts_as_ferret
Hi all This week I have worked with Rails and Ferret to test Ferrets (and Lucenes) capabilities. I decided to make a mixin for ActiveRecord as it seemed the simplest possible solution and I ended up making this into a plugin. For more info on Ferret see: http://ferret.davebalmain.com/trac/ The plugin is functional but could easily be refined. Anyway I want to share it with you. Regard it as a
2005 Dec 02
43
ANN: acts_as_ferret
Hi all This week I have worked with Rails and Ferret to test Ferrets (and Lucenes) capabilities. I decided to make a mixin for ActiveRecord as it seemed the simplest possible solution and I ended up making this into a plugin. For more info on Ferret see: http://ferret.davebalmain.com/trac/ The plugin is functional but could easily be refined. Anyway I want to share it with you. Regard it as a
2006 Jun 14
3
In memory IndexReader bug?
Hi All, Hope all is going well. I''m having trouble with the following code creating an in memory index reader - it seems to be attempting to read from a file regardless. Here''s the simple code: require ''rubygems'' require ''ferret'' a = Ferret::Index::Index.new r = Ferret::Index::IndexReader.new(nil) Running the code on my OS X machine
2007 Oct 08
1
Can you alias fields in acts_as_ferret?
Is there any way to set a field name that is different than the method name used to populate it? My example: In Rails, I''m using acts_as_ferret on a Article model that has_many Authors. I want to be able to index authors'' names with each article. Since @article.authors yields an array of Author objects (and not an indexable string), I''ve created this method in my
2007 Oct 20
0
Ferret + acts_as_ferret media coverage
Hi folks, just wanted to point you to an article about Ferret (and acts_as_ferret) in the current issue of the german iX magazine: http://www.heise.de/ix/inhalt.shtml Thanks to the authors Mathias and Ben from omdb.org :-) Cheers, Jens -- Jens Kr?mer http://www.jkraemer.net/ - Blog http://www.omdb.org/ - The new free film database
2007 Sep 06
2
acts_as_ferret connection was refused
Hello, I tried to install the acts_as_ferret plugin: ruby script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret but I get the response svn: Can''t connect to host ''projects.jkraemer.net'': connection refused. Everything ok over there or do I need to use a different route? Thanks for your help! Jay Sanders -- Posted via
2007 Aug 08
1
Filtering out low scoring matches with acts_as_ferret (fwd)
Hi all, I''m using fuzzy~ queries which can return very poor matches. What is the most elegant way to filter out scores below some threshold? I know that I can do my own thing with find_id_by_contents but I''d like to filter out less relevant results at a lower level so that I can use :limit/:offset for pagination and all that. What am I missing? Thanks, Casey
2007 Aug 09
2
no such file to load -- acts_as_ferret (MissingSourceFile)
Hi I''ve been using acts_as_ferret for a few weeks on my ibook and everything has been going just fine. But when I migrated my project onto windows xp sp2, acts_as_ferret seemed to become broken. I just put my project into a svn repository from ibook and checked it out into a windows pc. I got ruby1.8.5, rails1.2.3, ferret0.11.4 installed as gems. After I checked out the project, I got
2007 Aug 14
0
problem searching dynamic strings with acts_as_ferret
Hi Jens, I am using acts_as_ferret and multi_search method in it, when I search for Cass I get the result, but I want to get Cass even if I type Cas or Ca or just C. How can we use the LIKE operator for this serach in acts_as_ferret? I am listing the method here: def search_names @users = User.available_users @user = User.find(session[:user_id]) @query = params[:query] ||
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