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

Michael McCandless commented on SOLR-2134:
------------------------------------------

This looks great!

So it moves the "sort missing last" capability down into Lucene, it enables 
SortField & Comparators to use XXXValuesCreator, so that (I think) an app could 
make its own external source of values (ie not use the "uninversion" that 
FieldCache/ReaderCache uses).

If you pass null for the missing value then the bits are not loaded in the 
FieldCache right?  (And then the comparator behaves as it does today, ie treats 
these as 0, though probably we should advertise that the missing value behavior 
is undefined).

> Trie* fields should support sortMissingLast=true, and deprecate Sortable* 
> Field Types
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-2134
>                 URL: https://issues.apache.org/jira/browse/SOLR-2134
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Ryan McKinley
>         Attachments: SOLR-2134-SortMissingLast.patch
>
>
> With the changes in LUCENE-2649, the FieldCache also returns if the bit is 
> valid or not.  This is enough to support sortMissingLast=true with Trie* 
> fields.  Then we can get rid of the Sortable* fields

-- 
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