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

Yonik Seeley commented on LUCENE-2504:
--------------------------------------

Looks like we're not using the correct comparators everywhere.
I was trying a slightly different way to implement sort-missing-last, and my 
first comparator only implements setNextReader(), but I'm now getting many 
UnsupportedOperationExceptions (i.e. the search process is using older 
comparators after calling setNextReader())

One culprit is OneComparatorNonScoringCollector, and another is 
OneComparatorFieldValueHitQueue I think.


> sorting performance regression
> ------------------------------
>
>                 Key: LUCENE-2504
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2504
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: LUCENE-2504.patch, LUCENE-2504.patch, LUCENE-2504.zip
>
>
> sorting can be much slower on trunk than branch_3x

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to