Class CompressingStoredFieldsIndexWriter

  extended by org.apache.lucene.codecs.compressing.CompressingStoredFieldsIndexWriter
All Implemented Interfaces:

public final class CompressingStoredFieldsIndexWriter
extends Object
implements Closeable

Efficient index format for block-based Codecs.

This writer generates a file which can be loaded into memory using memory-efficient data structures to quickly locate the block that contains any document.

In order to have a compact in-memory representation, for every block of 1024 chunks, this index computes the average number of bytes per chunk and for every chunk, only stores the difference between

Data is written as follows:


NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.

Method Summary
 void close()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public void close()
           throws IOException
Specified by:
close in interface Closeable

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