lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3518) Add sort-by-term with DocValues
Date Fri, 14 Oct 2011 10:32:11 GMT
Add sort-by-term with DocValues
-------------------------------

                 Key: LUCENE-3518
                 URL: https://issues.apache.org/jira/browse/LUCENE-3518
             Project: Lucene - Java
          Issue Type: New Feature
          Components: core/search
            Reporter: Michael McCandless
            Assignee: Michael McCandless
             Fix For: 4.0


There are two sorted byte[] types with DocValues (BYTES_VAR_SORTED,
BYTES_FIXED_SORTED), so you can index this type, but you can't yet
sort by it.

So I added a FieldComparator just like TermOrdValComparator, except it
pulls from the doc values instead.

There are some small diffs, eg with doc values there are never null
values (see LUCENE-3504).


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message