Show / Hide Table of Contents

    Namespace Lucene.Net.Codecs.MockIntBlock

    Integer encoder implementations for testing.

    Classes

    MockFixedInt32BlockPostingsFormat

    A silly test codec to verify core support for fixed sized int block encoders is working. The int encoder used here just writes each block as a series of vInt.

    MockFixedInt32BlockPostingsFormat.MockInt32Factory

    Encodes blocks as vInts of a fixed block size.

    MockVariableInt32BlockPostingsFormat

    A silly test codec to verify core support for variable sized int block encoders is working. The int encoder used here writes baseBlockSize ints at once, if the first int is <= 3, else 2* baseBlockSize.

    MockVariableInt32BlockPostingsFormat.MockInt32Factory

    If the first value is <= 3, writes baseBlockSize vInts at once, otherwise writes 2*baseBlockSize vInts.

    • Improve this Doc
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)