Displaying 3 results from an estimated 3 matches for "differenthink".
2007 Sep 06
5
Find by contents and missing ferret_score method
Hi,
i m using acts as ferret via the find_by_contents, and then i my trying
to get the score of each results...
But the score of ferret_score method is missing...
I ve got the @total_hits in the array, but not the @score one :/
What s going on ?
Is this method disappear in acts_as_ferret ?
thanks
Guillaume.
--
Posted via http://www.ruby-forum.com/.
2008 May 23
3
Problem with .to_xml and Hash.form_xml ?
Hi,
i m trying to do some kind of database dump using .to_xml
and after i try to fill my database back (well an other) with the
content of the xml.
Right now i m doing that :
@xml = Video.find(:all).to_xml(:include=>[:vlogiciels])
it does produce :
<videos>
<video>
<mycolumns>
.....
<vlogiciels>
<logiciel>
2007 Sep 07
5
Custom Analyser .. where to put it ??
Hi,
I m trying to use a custom analyser to add my french stop words... i m
reading the tutorial at :
http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage
My problem is that i ve no idea where to put my custom Analyser class
like :
class GermanStemmingAnalyzer < Ferret::Analysis::Analyzer
include Ferret::Analysis
def initialize(stop_words = FULL_GERMAN_STOP_WORDS)