lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (LUCENE-697) Scorer.skipTo affects sloppyPhrase scoring
Date Sat, 04 Nov 2006 22:39:38 GMT
    [ ] 
Yonik Seeley commented on LUCENE-697:

Thanks for tackling this one Doron!
Wow is that phrase code complex!  I think I may need to step through an example or two before
I really get it.
Anyway, the changes you suggest all look logical in context... It's just some of the rest
of the phrase scoring code I'm still trying to understand.

Regarding the sort:
+      if (pp1.position == pp2.position)
+        return pp1.position+pp1.offset < pp2.position+pp2.offset;

Surely this degenerates to 
      if (pp1.position == pp2.position)
         return pp1.offset < pp2.offset;

> Scorer.skipTo affects sloppyPhrase scoring
> ------------------------------------------
>                 Key: LUCENE-697
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.0.0
>            Reporter: Yonik Seeley
>         Assigned To: Doron Cohen
>         Attachments: sloppy_phrase_skipTo.patch, sloppy_phrase_skipTo.patch2
> If you mix skipTo() and next(), you get different scores than what is returned to a hit

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


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

View raw message