lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (SOLR-1777) fields with sortMissingLast don't sort correctly
Date Thu, 18 Feb 2010 00:23:28 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835039#action_12835039
] 

Yonik Seeley edited comment on SOLR-1777 at 2/18/10 12:23 AM:
--------------------------------------------------------------

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.

note: not all tests pass yet.

      was (Author: yseeley@gmail.com):
    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.


Mime
View raw message