On 3/22/07, Linus <[EMAIL PROTECTED]> 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?

See SpanFirstQuery. It is especially designed for this. Unfortunately
you can't build one with the query parser. You need to build it by
hand.

http://ferret.davebalmain.com/api/classes/Ferret/Search/Spans/SpanFirstQuery.html

-- 
Dave Balmain
http://www.davebalmain.com/
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to