lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Updated: (LUCENE-2586) move intblock/sep codecs into test
Date Tue, 03 Aug 2010 21:00:15 GMT


Michael McCandless updated LUCENE-2586:

    Attachment: LUCENE-2586.patch

Attached patch.

It can't be applied because it's a bunch of svn mv's...

But the gist is that intblock/sep in core are now "abstract", moved into test as "MockFixedIntBlock"
and "MockSep".

> move intblock/sep codecs into test
> ----------------------------------
>                 Key: LUCENE-2586
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>         Attachments: LUCENE-2586.patch
> 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:
For additional commands, e-mail:

View raw message