lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2381) Use packed ints for sort ords (in FieldCache.getStringIndex/.getTermBytesIndex)
Date Tue, 04 May 2010 17:10:59 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Uwe Schindler updated LUCENE-2381:
----------------------------------

    Fix Version/s: 4.0
                       (was: 3.1)

> 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
>          Components: Search
>            Reporter: Michael McCandless
>             Fix For: 4.0
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message