lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Le Maout <>
Subject term boosting has no effect with span queries ?
Date Tue, 10 May 2005 13:37:25 GMT

I'm trying to boost the score of documents containing some specific 
terms using the setBoost()
method of the class SpanTermQuery (actually inherited from the class 
Query) but this seems
to have no effect on the hits scores. Checking the way the scores are 
computed (by calling the
explain method or even digging in the source code), I found no reference 
to any boost value.
Is boosting a SpanTermQuery simply not possible ? Does it make sense to 
do so or did I
misunderstand the use of the SpanQuery ?



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

View raw message