lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: span queries and proximity boosting
Date Wed, 05 Dec 2007 02:40:23 GMT

: A quick look at the code would say no, unless I am missing something. Neither
: the weight or span scorer seem to take distance into account.

uh, i think you're wrong ... SpanScorer takes the distance between the 
"end" of the spans and the "start" of the spans into account just like a 
PraseQuery considers the positions of the terms (it's just a bit more 
complicated with Spans because of the nesting that's possible)

(look for "matchLength" in SpamScorer)


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

View raw message