search for: a_a_f

Displaying 7 results from an estimated 7 matches for "a_a_f".

2007 Feb 06
2
Which method to use to get content from index with a_a_f?
Hi everybody, After staring at the a_a_f API for quite sometime now, I decided it''s time to ask... Which method should I use to get content from the index without using highlight? Consider the following controller action: def preview if params[:search].blank? # normal case @text = @myfile. # which method do I use here to...
2006 Aug 22
2
Two character searchs don''t work
If we try to query a field with a_a_f with two characters in it, nothing is returned. "Move or shake" If I do "Move shake" it works. It seems like anything that has a two character word in it, doesn''t get returned with a_a_f. Any help would be great! -- Posted via http://www.ruby-forum.com/.
2006 Sep 25
9
acts_as_ferret highlight
I am getting nil returned when doing the following: r.highlight(@condition, :field => ''body'') ''r'' is an instance of the a_a_f model. ''body'' is a tokenized saved field. I am running latest ferret and a_a_f trunk. Am I doing something wrong? -- Posted via http://www.ruby-forum.com/.
2008 Jun 13
2
strip out non-alphanumeric characters before saving to index
Does anyone know a simple way, with ferret or a_a_f, to strip out everything that''s not a letter, number or space before saving to the index? I know that i could do a custom method for every indexed field that regexes them out but i thought that there might be a universal option for it... thanks max -- Posted via http://www.ruby-forum.co...
2007 Jun 06
4
globalize+acts_as_ferret
Hey all, I''m using acts_as_ferret and globalize. I stumbled upon that post on google: http://osdir.com/ml/lang.ruby.ferret.general/2007-01/msg00068.html does anybody know if it''s included in the latest a_a_f or if it''s planed to be? I can''t seem to find anything about it. thanx in advance Pat
2006 Oct 02
4
Another web app using Ferret
I am apart of a team that runs a student site called Studicious (http://stu.dicio.us). We have been using Ferret from the beginning, and recently added acts_as_ferret and sorting to the system. As you can see if you try the search, sorting is not working as expected. I am using this code (w/ find_by_content): :sort => Ferret::Search::SortField.new(:school_sort, :reverse => false)
2009 Apr 09
4
Weird analyzer issue with the word ''fly''
Hi all I''m using a_a_f in rails with a StemmingAnalyzer, in the index and in my search. I got the idea from this topic: http://www.ruby-forum.com/topic/80178 I''m having a problem with some search terms - i narrowed one of them down to the inclusion of the word ''fly''. Can anyone give me any c...