You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/08/30 15:27:37 UTC
[jira] [Created] (LUCENE-3407) wrong stats/scoring from MemoryCodec
wrong stats/scoring from MemoryCodec
------------------------------------
Key: LUCENE-3407
URL: https://issues.apache.org/jira/browse/LUCENE-3407
Project: Lucene - Java
Issue Type: Bug
Affects Versions: flexscoring branch, 4.0
Reporter: Robert Muir
Attachments: LUCENE-3407_test.patch
I hit some random failures in the flexscoring branch: wierd because its not a random test.
I noticed the test always failed with memorycodec, and wrote a specific test for it.
I haven't traced thru it yet, but I think its likely the issue that memorycodec is somehow returning wrong stats here?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-3407) wrong stats/scoring from MemoryCodec
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-3407:
--------------------------------
Attachment: LUCENE-3407.patch
patch for trunk.
> wrong stats/scoring from MemoryCodec
> ------------------------------------
>
> Key: LUCENE-3407
> URL: https://issues.apache.org/jira/browse/LUCENE-3407
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: flexscoring branch, 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3407.patch, LUCENE-3407_test.patch
>
>
> I hit some random failures in the flexscoring branch: wierd because its not a random test.
> I noticed the test always failed with memorycodec, and wrote a specific test for it.
> I haven't traced thru it yet, but I think its likely the issue that memorycodec is somehow returning wrong stats here?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3407) wrong stats/scoring from
MemoryCodec
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093928#comment-13093928 ]
Robert Muir commented on LUCENE-3407:
-------------------------------------
SimpleText had this issue too... i had not run the tests enough, we intentionally return SimpleText less often :)
> wrong stats/scoring from MemoryCodec
> ------------------------------------
>
> Key: LUCENE-3407
> URL: https://issues.apache.org/jira/browse/LUCENE-3407
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: flexscoring branch, 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3407.patch, LUCENE-3407_test.patch
>
>
> I hit some random failures in the flexscoring branch: wierd because its not a random test.
> I noticed the test always failed with memorycodec, and wrote a specific test for it.
> I haven't traced thru it yet, but I think its likely the issue that memorycodec is somehow returning wrong stats here?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-3407) wrong stats/scoring from MemoryCodec
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-3407:
--------------------------------
Attachment: LUCENE-3407_test.patch
patch with a test, goes against the flex scoring branch.
> wrong stats/scoring from MemoryCodec
> ------------------------------------
>
> Key: LUCENE-3407
> URL: https://issues.apache.org/jira/browse/LUCENE-3407
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: flexscoring branch, 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3407_test.patch
>
>
> I hit some random failures in the flexscoring branch: wierd because its not a random test.
> I noticed the test always failed with memorycodec, and wrote a specific test for it.
> I haven't traced thru it yet, but I think its likely the issue that memorycodec is somehow returning wrong stats here?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (LUCENE-3407) wrong stats/scoring from
MemoryCodec
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-3407.
---------------------------------
Resolution: Fixed
I committed this: no problems with any other codecs.
> wrong stats/scoring from MemoryCodec
> ------------------------------------
>
> Key: LUCENE-3407
> URL: https://issues.apache.org/jira/browse/LUCENE-3407
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: flexscoring branch, 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3407.patch, LUCENE-3407_test.patch
>
>
> I hit some random failures in the flexscoring branch: wierd because its not a random test.
> I noticed the test always failed with memorycodec, and wrote a specific test for it.
> I haven't traced thru it yet, but I think its likely the issue that memorycodec is somehow returning wrong stats here?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3407) wrong stats/scoring from
MemoryCodec
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093718#comment-13093718 ]
Robert Muir commented on LUCENE-3407:
-------------------------------------
the issue only happens with omitTF, my guess is that its returning something strange for totalTermFreq... will try to make a better test.
> wrong stats/scoring from MemoryCodec
> ------------------------------------
>
> Key: LUCENE-3407
> URL: https://issues.apache.org/jira/browse/LUCENE-3407
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: flexscoring branch, 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3407_test.patch
>
>
> I hit some random failures in the flexscoring branch: wierd because its not a random test.
> I noticed the test always failed with memorycodec, and wrote a specific test for it.
> I haven't traced thru it yet, but I think its likely the issue that memorycodec is somehow returning wrong stats here?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3407) wrong stats/scoring from
MemoryCodec
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093791#comment-13093791 ]
Michael McCandless commented on LUCENE-3407:
--------------------------------------------
Phew, nice catch!
> wrong stats/scoring from MemoryCodec
> ------------------------------------
>
> Key: LUCENE-3407
> URL: https://issues.apache.org/jira/browse/LUCENE-3407
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: flexscoring branch, 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3407.patch, LUCENE-3407_test.patch
>
>
> I hit some random failures in the flexscoring branch: wierd because its not a random test.
> I noticed the test always failed with memorycodec, and wrote a specific test for it.
> I haven't traced thru it yet, but I think its likely the issue that memorycodec is somehow returning wrong stats here?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org