Jens Kraemer wrote:
> you could index the first word of your product names in a separate
> field, and give that field a boost. So any query with a term that
> matches the first word of the product name would score higher.
> 
> however there might well be better solutions to this problem I can't
> think of right now :-)
I finished with this in controller:

q = "#{q}*^4 OR *#{q}*"

It seems to do the job :)

Best regards,
Tom

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to