lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <>
Subject [jira] Commented: (LUCENE-2671) Add sort missing first/last ability to SortField and ValueComparator
Date Sat, 16 Oct 2010 21:30:22 GMT


Ryan McKinley commented on LUCENE-2671:

bq. This is not true, it returns DocTermCreator.DocTermsImpl and gives an ugly cast

DocTermCreator.DocTermsImpl (a private class only accessible within DocTermCreator) extends
DocTerms and so it is true.

I won't argue about the ugly cast. :)

in #1023379 I changed DocTermsCreator and DocTermsIndexCreator to bind directly to the class
(rather then T extends XXX)  This is a bit more clear, but does not let you extend the generic
API (not that you need to)

> Add sort missing first/last ability to SortField and ValueComparator
> --------------------------------------------------------------------
>                 Key: LUCENE-2671
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>         Attachments: LUCENE-2671-caches.patch, LUCENE-2671-SortMissingLast.patch, LUCENE-2671-suppress-unchecked.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:
For additional commands, e-mail:

View raw message