Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Namespace Lucene.Net.Codecs.MockIntBlock

    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.

    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.