lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
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)




-Hoss


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


Mime
View raw message