On Wed, Mar 21, 2007 at 05:57:46PM +0100, Linus wrote:
> Hi,
> I need to score more on products, those names
> begin with query, rather then just contain it.
> 
> I am not sure where to start research on that...
> Any ideas?

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 :-)

Jens


-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to