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] Created: (LUCENE-2586) move intblock/sep codecs into test
Date Tue, 03 Aug 2010 20:52:17 GMT
move intblock/sep codecs into test
----------------------------------

                 Key: LUCENE-2586
                 URL: https://issues.apache.org/jira/browse/LUCENE-2586
             Project: Lucene - Java
          Issue Type: Improvement
    Affects Versions: 4.0
            Reporter: Michael McCandless
            Assignee: Michael McCandless
             Fix For: 4.0


The intblock and sep codecs in core exist to make it easy for people to try different low-level
algos for encoding ints.

Sep breaks docs, freqs, pos, skip data, payloads into 5 separate files (vs 2 files that standard
codec uses).

Intblock further enables the docs, freqs, pos files to encode fixed-sized blocks of ints at
a time.

So an app can easily "subclass" these codecs, using their own int encoder.

But these codecs are now concrete, and they use dummy low-level block int encoder (eg encoding
128 ints as separate vints).

I'd like to change these to be abstract, and move these dummy codecs into test.

The tests would still test these dummy codecs, by rotating them in randomly for all tests.

I'd also like to rename IntBlock -> FixedIntBlock, because I'm trying to get a VariableIntBlock
working well (for int encoders like Simple9, Simple16, whose block size varies depending on
the particular 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