lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (LUCENE-3572) MultiIndexDocValues pretends it can merge sorted sources
Date Tue, 15 Nov 2011 19:18:52 GMT


Michael McCandless resolved LUCENE-3572.

    Resolution: Fixed
> MultiIndexDocValues pretends it can merge sorted sources
> --------------------------------------------------------
>                 Key: LUCENE-3572
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>         Attachments: LUCENE-3572.patch
> Nightly build hit this failure:
> {noformat}
> ant test-core -Dtestcase=TestSort -Dtestmethod=testReverseSort -Dtests.seed=791b126576b0cfab:-48895c7243ecc5d0:743c683d1c9f7768
-Dtests.multiplier=3 -Dargs="-Dfile.encoding=ISO8859-1"
>     [junit] Testcase: testReverseSort(	Caused an ERROR
>     [junit] expected:<[CEGIA]> but was:<[ACEGI]>
>     [junit] 	at
>     [junit] 	at
>     [junit] 	at
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$3$1.evaluate(
>     [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(
>     [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(
> {noformat}
> It's happening in the test for reverse-sort of a string field with DocValues, when the
test had gotten SlowMultiReaderWrapper.
> I committed a fix to the test to avoid testing this case, but we need a better fix to
the underlying bug.
> MultiIndexDocValues cannot merge sorted sources (I think?), yet somehow it's pretending
it can (in the above test, the three subs had BYTES_FIXED_SORTED type, and the TypePromoter
happily claims to merge these to BYTES_FIXED_SORTED; I think MultiIndexDocValues should return
null for the sorted source in this case?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message