logo       

Re: Stem Analyzer: msg#00032

lang.ruby.ferret.general

Subject: Re: Stem Analyzer


On 07.12.2006, at 01:28, William Mcguinty wrote:

> Raymond O'connor wrote:
>> Matt Schnitz wrote:
>>> You also need to stem-analyze the incoming query.
>>>
>>> I had this same problem. :^>
>>>
>>>
>>> Schnitz
>>
>> Do you have an example of how to do this? I'm using AAF.
>> Thanks,
>> Ray
>
> I'm also using acts_as_ferret, and am stuck on exactly the same
> problem.
> :(

How about passing your custom analyzer to acts_as_ferret as described
in the docs?

acts_as_ferret {:fields => ["id", "name", "body"]}, {:analyzer =>
MyFunkyStemAnalyzer}

Cheers,
Andy


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise