[ 
https://issues.apache.org/jira/browse/SOLR-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-1111:
-------------------------------

    Attachment: SOLR-1111_sort.patch

Attaching SOLR-1111_sort.patch to use new Lucene Collector classes, including 
sorting collectors that will use FieldCache entries at the segment level 
instead of the top level reader.

Unfortunately, tests don't currently pass - NPE caused by sort=a_i asc.
Looks like we'll need to port any custom comparators over to the new 
FieldComparatorSource (I hadn't thought about this before, but of course it 
makes sense that the old custom comparators wouldn't work since there isn't a 
method to compare docs from different segments).

> fix FieldCache usage in Solr
> ----------------------------
>
>                 Key: SOLR-1111
>                 URL: https://issues.apache.org/jira/browse/SOLR-1111
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>             Fix For: 1.4
>
>         Attachments: SOLR-1111-distrib.patch, SOLR-1111_sort.patch
>
>
> Recent changes in Lucene have altered how the FieldCache is used and as-is 
> could lead to previously working Solr installations blowing up when they 
> upgrade to 1.4.  We need to fix, or document the affects of these changes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to