Package com.apple.foundationdb.record.lucene.codec
package com.apple.foundationdb.record.lucene.codec
Common classes for optimization of lucene's codec.
-
ClassDescriptionLazyCloseable<T extends Closeable>Similar to
LazyOpener, but that is alsoCloseable.LazyOpener<T>Class to lazily "open" something that may throw an IOException when opening.A function that returns an object, but may throw anIOException.The "legacy" stored fields reader implementation - this one wraps around the Lucene default implementation and provides lazy initialization.Codec with a few optimizations for speeding up compound files sitting on FoundationDB.Wrapper for theLucene50CompoundFormatto optimize compound files for sitting on FoundationDB.Class for accessing a compound stream.This class provides a Lazy reader implementation to limit the amount of data needed to be read from FDB.FieldInfosFormatoptimized for storage in theFDBDirectory.Lazy Reads the LiveDocsFormat to limit the amount of bytes returned from FDB.Lazy Reads the PointsFormat to limit the amount of bytes returned from FDB.PostingsFormatoptimized for FDB storage.This class provides a custom KeyValue based reader and writer implementation to limit the amount of data needed to be read from FDB.AStoredFieldsReaderimplementation for Stored Fields stored in the DB.An implementation ofStoredFieldsWriterfor fields stored in the DB.An Index Input that attempts to keep a 10 block buffer in front or at the read at a minimum.