Okay, let's strip it back to the minimum. What's the output of the  
following in script/console:

   Product.search "fusbal"

And if we add some complexity...

   Product.search "fusbal",
     :with       => {:active => 1},
     :match_mode => :extended

-- 
Pat

On 29/03/2009, at 11:51 PM, Jochen Kaechelin wrote:

>
>
> Am 29.03.2009 um 14:48 schrieb Pat Allan:
>
>>
>> Okay, that seems to be working (that's the result you're expecting,
>> yes?).
>
> Yes - exactly what I'am looking for.
>
>> Just to confirm, what's the line of code in Ruby when you're
>> searching for fusball?
>>
>
> @products = Product.search params[:query]+"*",
>           :conditions => { :active => 1 },
>           :match_mode => :extended2,
>           :page => params[:page],
>           :per_page => 20,
>           :field_weights => { :boost => 200, :kadis_product =>
> 100, :description => 10 },
>           :include => :taggings
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to