You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2010/02/18 00:13:28 UTC

[jira] Updated: (SOLR-1777) fields with sortMissingLast don't sort correctly

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

Yonik Seeley updated SOLR-1777:
-------------------------------

    Attachment: SOLR-1777.patch

The issue had to do with ords and ord normalization in sort-missing-last.
Here's a patch with tests and a rewritten MissingLastOrdComparator that manipulates ord values rather than trying to just handle nulls.

> fields with sortMissingLast don't sort correctly
> ------------------------------------------------
>
>                 Key: SOLR-1777
>                 URL: https://issues.apache.org/jira/browse/SOLR-1777
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.4
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>            Priority: Critical
>         Attachments: SOLR-1777.patch
>
>
> field types with the sortMissingLast=true attribute can have results sorted incorrectly.

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