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 2010/12/17 10:34:00 UTC
[jira] Created: (LUCENE-2817) SimpleText has a bulk enum buffer
reuse bug
SimpleText has a bulk enum buffer reuse bug
-------------------------------------------
Key: LUCENE-2817
URL: https://issues.apache.org/jira/browse/LUCENE-2817
Project: Lucene - Java
Issue Type: Bug
Components: Codecs
Affects Versions: Bulk Postings branch
Reporter: Robert Muir
testBulkPostingsBufferReuse fails with SimpleText codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-2817) SimpleText has a bulk enum buffer
reuse bug
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-2817.
----------------------------------------
Resolution: Fixed
Fix Version/s: Bulk Postings branch
Fixed. In fact SimpleText does try to reuse and in fact it was buggy! I fixed it.
> SimpleText has a bulk enum buffer reuse bug
> -------------------------------------------
>
> Key: LUCENE-2817
> URL: https://issues.apache.org/jira/browse/LUCENE-2817
> Project: Lucene - Java
> Issue Type: Bug
> Components: Codecs
> Affects Versions: Bulk Postings branch
> Reporter: Robert Muir
> Fix For: Bulk Postings branch
>
>
> testBulkPostingsBufferReuse fails with SimpleText codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2817) SimpleText has a bulk enum buffer
reuse bug
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972410#action_12972410 ]
Robert Muir commented on LUCENE-2817:
-------------------------------------
junit-sequential:
[junit] Testsuite: org.apache.lucene.index.TestCodecs
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.492 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] NOTE: reproduce with: ant test -Dtestcase=TestCodecs -Dtestmethod=testBulkPostingsBufferReuse -Dtests.seed=8878914233730236058:-5578535381307601353
[junit] NOTE: test params are: codec=RandomCodecProvider: {field=SimpleText}, locale=mk, timezone=America/Indiana/Tell_City
[junit] NOTE: all tests run in this JVM:
[junit] [TestCodecs]
[junit] ------------- ---------------- ---------------
[junit] Testcase: testBulkPostingsBufferReuse(org.apache.lucene.index.TestCodecs): FAILED
[junit] expected:<or...@1a42792>
but was:<or...@2200d5>
[junit] junit.framework.AssertionFailedError: expected:<or...@1a42792>
but was:<or...@2200d5>
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
[junit] at org.apache.lucene.index.TestCodecs.testBulkPostingsBufferReuse(TestCodecs.java:671)
[junit]
[junit]
[junit] Test org.apache.lucene.index.TestCodecs FAILED
> SimpleText has a bulk enum buffer reuse bug
> -------------------------------------------
>
> Key: LUCENE-2817
> URL: https://issues.apache.org/jira/browse/LUCENE-2817
> Project: Lucene - Java
> Issue Type: Bug
> Components: Codecs
> Affects Versions: Bulk Postings branch
> Reporter: Robert Muir
>
> testBulkPostingsBufferReuse fails with SimpleText codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2817) SimpleText has a bulk enum buffer
reuse bug
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972421#action_12972421 ]
Michael McCandless commented on LUCENE-2817:
--------------------------------------------
Duh, silliness. I just added this test (to assert BulkPostingsEnum/buffer reuse) but SimpleText never re-uses. I'll add an Assume.
> SimpleText has a bulk enum buffer reuse bug
> -------------------------------------------
>
> Key: LUCENE-2817
> URL: https://issues.apache.org/jira/browse/LUCENE-2817
> Project: Lucene - Java
> Issue Type: Bug
> Components: Codecs
> Affects Versions: Bulk Postings branch
> Reporter: Robert Muir
>
> testBulkPostingsBufferReuse fails with SimpleText codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org