You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2010/04/07 18:20:34 UTC

[jira] Created: (LUCENE-2381) Use packed ints for sort ords (in FieldCache.getStringIndex/.getTermBytesIndex)

Use packed ints for sort ords (in FieldCache.getStringIndex/.getTermBytesIndex)
-------------------------------------------------------------------------------

                 Key: LUCENE-2381
                 URL: https://issues.apache.org/jira/browse/LUCENE-2381
             Project: Lucene - Java
          Issue Type: Improvement
            Reporter: Michael McCandless
             Fix For: 3.1


We wastefully use a whole int today, but for enumerated fields (eg "country", "state", "color", "category") this is very wasteful since you could use only a few bits per doc when there are not that many values.

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