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

[jira] Issue Comment Edited: (LUCENE-2671) Add sort missing first/last ability to SortField and ValueComparator

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

Yonik Seeley edited comment on LUCENE-2671 at 9/26/10 8:27 PM:
---------------------------------------------------------------

Ah - I was just about to report "hmmm, doesn't seem to be working".  But then I realized you separated them out and this is the lucene part only.

IMO - if you're working on these together (and esp if the original motivation was to ultimately get the functionallity into Solr, it's simpler to keep it as a single issue / single patch).

edit: and two patches are tougher to deal with - in fact, I can't apply the solr one either with or without this patch... not sure what's up.

      was (Author: yseeley@gmail.com):
    Ah - I was just about to report "hmmm, doesn't seem to be working".  But then I realized you separated them out and this is the lucene part only.

IMO - if you're working on these together (and esp if the original motivation was to ultimately get the functionallity into Solr, it's simpler to keep it as a single issue / single patch).
  
> Add sort missing first/last ability to SortField and ValueComparator
> --------------------------------------------------------------------
>
>                 Key: LUCENE-2671
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2671
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>         Attachments: LUCENE-2671-SortMissingLast.patch
>
>
> When SortField and ValueComparator use EntryCreators (from LUCENE-2649) they use a special sort value when the field is missing.
> This enables lucene to implement 'sort missing last' or 'sort missing first' for numeric values from the FieldCache.

-- 
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org