Re: span queries and proximity boosting

2007-12-05 Thread Mark Miller
Doh! Even after careful scanning I missed that. Of course your right thoughscores with: /** Computes the amount of a sloppy phrase match, based on an edit distance. * This value is summed for each sloppy phrase match in a document to form * the frequency that is passed to [EMAIL PROTECTE

Re: span queries and proximity boosting

2007-12-04 Thread Chris Hostetter
: 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 PraseQu

Re: span queries and proximity boosting

2007-12-04 Thread Mark Miller
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. Arnone, Anthony wrote: Hello all, I’ve been looking into using the nice power of the SpanNearQuery instead of PhraseQuery, mostly because of the simp