[ https://issues.apache.org/jira/browse/LUCENE-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056339#comment-13056339 ]
Uwe Schindler edited comment on LUCENE-3191 at 6/28/11 6:37 AM: ---------------------------------------------------------------- bq. I haven't tracked this issue to understand whats going on here, but you cannot pass BytesRefs to collator.compare. If this code is ever reached (and looking at the test i wrote for this damn thing, its unclear if this code is even necessary?!) The code is necessary once you cross segments during compare. Maybe the index in the tests is so small that it never has multiple segments. was (Author: thetaphi): I haven't tracked this issue to understand whats going on here, but you cannot pass BytesRefs to collator.compare. If this code is ever reached (and looking at the test i wrote for this damn thing, its unclear if this code is even necessary?!) The code is necessary once you cross segments during compare. Maybe the index in the tests is so small that it never has multiple segments. > Add TopDocs.merge to merge multiple TopDocs > ------------------------------------------- > > Key: LUCENE-3191 > URL: https://issues.apache.org/jira/browse/LUCENE-3191 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 3.3, 4.0 > > Attachments: LUCENE-3191-3x.patch, > LUCENE-3191-SlowCollatorCompareFix.patch, LUCENE-3191.patch, > LUCENE-3191.patch, LUCENE-3191.patch, LUCENE-3191.patch, LUCENE-3191.patch > > > It's not easy today to merge TopDocs, eg produced by multiple shards, > supporting arbitrary Sort. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org