org.apache.lucene.codecs.compressing
Class CompressingStoredFieldsIndexWriter

java.lang.Object
  extended by org.apache.lucene.codecs.compressing.CompressingStoredFieldsIndexWriter
All Implemented Interfaces:
Closeable

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:

Notes

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

close

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


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