lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Le Maout <>
Subject Re: Boosting SpanQueries
Date Thu, 07 Jul 2005 09:04:55 GMT

I met this problem a few months ago : trying to boost some words in 
SpanQuery seems
to have no effect, which was confirmed by looking at the source code (no 
reference to
boost in the scoring methods, at least as far as lucene 1.4.3 is 
concerned, correct me if
I am wrong). So my first question was, is that a bug or a feature ? if 
it is a feature is there
a way to implement something  as boosting allowing to enhance the score 
of documents
containing a particular word of a span query ?



Dave Kor wrote:

>I was just wondering, if I set the boost factor in SpanQueries such as the
>SpanNearQuery or SpanOrQuery, does it get used?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message