lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3196) Optimize FixedStraightBytes for bytes size == 1
Date Mon, 13 Jun 2011 21:21:48 GMT


Uwe Schindler commented on LUCENE-3196:

Looks fine, using this approach, separate norms impl can hopefully go away quite fast *g*

For the PreFlex codec I even have an idea for the codec and backwards compatibility: The old
norms file could be exposed as standard DocValues field by PreFlex codec. The r/w StandardCodec
would never write separate norms files, instead simply write docvalues using this 1 byte approach
(of course configureable to have e.g. read float norms, and other additional BM25 statistics
or whatever).

Just ideas, Uwe

> Optimize FixedStraightBytes for bytes size == 1
> -----------------------------------------------
>                 Key: LUCENE-3196
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index, core/search
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>            Priority: Minor
>             Fix For: 4.0
>         Attachments: LUCENE-3196.patch
> Currently we read all the bytes in a PagedBytes instance wich is unneeded for single
byte values like norms. For fast access this should simply be a straight array.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message