lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-2381) Use packed ints for sort ords (in FieldCache.getStringIndex/.getTermBytesIndex)
Date Mon, 21 Jun 2010 15:53:22 GMT

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

Michael McCandless resolved LUCENE-2381.
----------------------------------------

    Resolution: Duplicate

Dup of LUCENE-2380.

> 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