lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Lucene Test Case Failure: org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange (from TestIndexWriterMergePolicy)
Date Thu, 29 Jul 2010 10:11:09 GMT
This one is a known issue (LUCENE-2118).

I'm not worried about it; there seems to be some corner as you tweak
maxBufferedDocs case whereby the MP is able to leave 10 segments on a
single level (when mergeFactor is 10).

Mike

On Wed, Jul 28, 2010 at 10:46 PM, Mark Miller <markrmiller@gmail.com> wrote:
> Error Message
>
> maxMergeDocs=2147483647; numSegments=11; upperBound=10; mergeFactor=10;
> segs=_65:c5950 _5t:c10->_32 _5u:c10->_32 _5v:c10->_32 _5w:c10->_32
> _5x:c10->_32 _5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32
> _62:c6->_32 _64:c4->_62
>
> Stacktrace
>
> junit.framework.AssertionFailedError: maxMergeDocs=2147483647;
> numSegments=11; upperBound=10; mergeFactor=10; segs=_65:c5950
> _5t:c10->_32 _5u:c10->_32 _5v:c10->_32 _5w:c10->_32 _5x:c10->_32
> _5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32 _62:c6->_32 _64:c4->_62
>        at
> org.apache.lucene.index.TestIndexWriterMergePolicy.checkInvariants(TestIndexWriterMergePolicy.java:238)
>        at
> org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange(TestIndexWriterMergePolicy.java:166)
>        at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:328)
>
> Standard Output
>
> NOTE: random codec of testcase 'testMaxBufferedDocsChange' was: PreFlex
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

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


Mime
View raw message