You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Chuan <sh...@gmail.com> on 2009/10/15 16:08:06 UTC

How to set boost for a certain term in a query?

For example, I want the term 'sport' to have more impact on the final rank.
Thanks in advance.

Chuan
-- 
View this message in context: http://www.nabble.com/How-to-set-boost-for-a-certain-term-in-a-query--tp25909294p25909294.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: How to set boost for a certain term in a query?

Posted by Erick Erickson <er...@gmail.com>.
This question is better posted on the user list, but the short answer is to
use boosting.

On Thu, Oct 15, 2009 at 10:08 AM, Chuan <sh...@gmail.com> wrote:

>
> For example, I want the term 'sport' to have more impact on the final rank.
> Thanks in advance.
>
> Chuan
> --
> View this message in context:
> http://www.nabble.com/How-to-set-boost-for-a-certain-term-in-a-query--tp25909294p25909294.html
> Sent from the Lucene - Java Developer mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>