Package org.apache.lucene.codecs.mockintblock

Integer encoder implementations for testing.

See:
          Description

Class Summary
MockFixedIntBlockPostingsFormat A silly test codec to verify core support for fixed sized int block encoders is working.
MockFixedIntBlockPostingsFormat.MockIntFactory Encodes blocks as vInts of a fixed block size.
MockVariableIntBlockPostingsFormat A silly test codec to verify core support for variable sized int block encoders is working.
MockVariableIntBlockPostingsFormat.MockIntFactory If the first value is <= 3, writes baseBlockSize vInts at once, otherwise writes 2*baseBlockSize vInts.
 

Package org.apache.lucene.codecs.mockintblock Description

Integer encoder implementations for testing.



Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.