public final class FieldsIndexWriter extends Object implements Closeable
For each block of compressed stored fields, this stores the first document
of the block and the start pointer of the block in a
DirectMonotonicWriter. At read time, the docID is binary-searched in
DirectMonotonicReader that records doc IDS, and the returned
index is used to look up the start pointer in the
DirectMonotonicReader that records start pointers.
public void close() throws IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.