lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-697) Scorer.skipTo affects sloppyPhrase scoring
Date Wed, 25 Oct 2006 21:59:17 GMT
    [ http://issues.apache.org/jira/browse/LUCENE-697?page=comments#action_12444744 ] 
            
Doron Cohen commented on LUCENE-697:
------------------------------------

I can reproduce this by uncommenting this line. 

Interesting to notice that:

(1) the sequence to next() next() skip() skip() next() next() (!= instead of ==) passes the
tests.
This is exoected because the problem is in the initialization (at least in PhraseQuery). 

(2) the sequence next() skip() next() does not work (..&0x01)!=0 instead of &0x02)==0)
does not pass.
This is surprising to me - becuase seemingly there are no initialization issues here.
But I think the cause is that, at least in PhraseQuery, it is not just an intialization issue.

Yonik, this is uassigned, are you working on a fix for this?

> Scorer.skipTo affects sloppyPhrase scoring
> ------------------------------------------
>
>                 Key: LUCENE-697
>                 URL: http://issues.apache.org/jira/browse/LUCENE-697
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.0.0
>            Reporter: Yonik Seeley
>
> If you mix skipTo() and next(), you get different scores than what is returned to a hit
collector.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message