Package com.apple.foundationdb.record.lucene.directory
package com.apple.foundationdb.record.lucene.directory
Common classes for lucene index queries.
-
ClassDescriptionCreate floating sub contexts from a caller context and commit when they reach time/write quota.A floating window (agile) context - create sub contexts and commit them as they reach their time/size quota.A non-agile context - plainly use caller's context as context and never commit.An
IndexInputto go withEmptyIndexOutput.An output that is used to cause file references to exist, but doesn't actually allow writing.Directory implementation backed by FDB which attempts to model a file system on top of FoundationDB.Produce a lock overFDBDirectory.An exception class thrown when obtaining the lock failed.A transaction-scoped manager ofFDBDirectoryobjects.A shared cache for a singleFDBDirectory.A cache forFDBDirectoryblocks that can be shared between record contexts.Builder forFDBDirectorySharedCacheManager.Utilities for standardizing some interactions withFDBDirectory.Wrapper containing anFDBDirectoryand cached accessor objects (likeIndexWriters).Class that handles reading data cut into blocks (KeyValue) backed by an FDB keyspace.Implementation of IndexOutput representing the writing of data in Lucene to a file.A File Reference record laying out the id, size, and block size.Class for encapsulating logic around storingFieldInfos, viaLuceneOptimizedFieldInfosFormatinFDBDirectory, and caching the data for the life of thedirectory.Serialize a Lucene directory block to/from an FDB key-value byte array.