You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2013/08/08 21:28:48 UTC

[jira] [Commented] (LUCENE-4774) Add FieldComparator that allows sorting parent docs based on field inside the child docs

    [ https://issues.apache.org/jira/browse/LUCENE-4774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733872#comment-13733872 ] 

Mikhail Khludnev commented on LUCENE-4774:
------------------------------------------

fwiw something like http://www.gossamer-threads.com/lists/lucene/java-dev/199372?do=post_view_threaded happens to me 

NOTE: reproduce with: ant test  -Dtestcase=TestBlockJoinSorting -Dtests.method=testNestedSorting -Dtests.seed=FB4F1BE85579255B -Dtests.slow=true -Dtests.locale=da_DK -Dtests.timezone=Asia/Qatar -Dtests.file.encoding=UTF-8
NOTE: test params are: codec=Asserting, sim=RandomSimilarityProvider(queryNorm=true,coord=crazy): {}, locale=da_DK, timezone=Asia/Qatar
NOTE: Linux 2.6.32-131.0.15.el6.x86_64 amd64/Sun Microsystems Inc. 1.6.0_29 (64-bit)/cpus=4,threads=1,free=317130512,total=349241344
NOTE: All tests run in this JVM: [TestJoinUtil, TestBlockJoin, TestBlockJoinSorting]

-------------------------------------------------------------------------------
Test set: org.apache.lucene.search.join.TestBlockJoinSorting
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec <<< FAILURE!
testNestedSorting(org.apache.lucene.search.join.TestBlockJoinSorting)  Time elapsed: 0.021 sec  <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<28>
	at __randomizedtesting.SeedInfo.seed([FB4F1BE85579255B:F3A6F6A915D02835]:0)
	at org.junit.Assert.fail(Assert.java:93)
	at org.junit.Assert.failNotEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:128)
	at org.junit.Assert.assertEquals(Assert.java:472)
	at org.junit.Assert.assertEquals(Assert.java:456)
	at org.apache.lucene.search.join.TestBlockJoinSorting.testNestedSorting(TestBlockJoinSorting.java:226)
                
> Add FieldComparator that allows sorting parent docs based on field inside the child docs
> ----------------------------------------------------------------------------------------
>
>                 Key: LUCENE-4774
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4774
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: modules/join
>            Reporter: Martijn van Groningen
>            Assignee: Martijn van Groningen
>             Fix For: 5.0, 4.3
>
>         Attachments: LUCENE-4774.patch, LUCENE-4774.patch, LUCENE-4774.patch
>
>
> A field comparator for sorting block join parent docs based on the a field in the associated child docs. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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