Package-level declarations

Types

Link copied to clipboard

A mutable set of document ordinals, held as one block per 65 536 ordinals.

Link copied to clipboard

A walk over a bitmap's ordinals, ascending.

Link copied to clipboard

A serialized bitmap, read where it lies.

Link copied to clipboard

What one segment's column said about a predicate, and what deciding it cost.

Link copied to clipboard

A test a shredded column can answer without opening a document.

Link copied to clipboard

Answers a predicate from a shredded column where it can and a scan where it cannot.

Link copied to clipboard

One shredded column, read at one snapshot, with every sidecar it may consult pinned.

Link copied to clipboard

What a column scan found, and what it cost.

Link copied to clipboard

Feeds several observers from the one StoreOptions.segmentObserver slot.

Link copied to clipboard

The key of a composite index: several fields of one element, spelled as one term.

Link copied to clipboard
class CorruptBitmapException(message: String, val file: String, val offset: Long = -1, cause: Throwable? = null) : IndexException

A serialized bitmap cannot be read as one this implementation wrote.

Link copied to clipboard
class CorruptIndexException(message: String, val file: String, val offset: Long = -1, cause: Throwable? = null) : IndexException

An index sidecar or the index registry cannot be read as this implementation wrote it.

Link copied to clipboard

What to do about a sidecar that will not decode.

Link copied to clipboard

Walks a document and emits the containers a set of paths stands for.

Link copied to clipboard

A sidecar build running on the index catalog's own thread.

Link copied to clipboard

How far a background build has got.

Link copied to clipboard

What a background index build is doing, or what it ended as.

Link copied to clipboard
class IndexCatalog(val directory: Path, val options: IndexOptions = IndexOptions.DEFAULT) : SegmentObserver, AutoCloseable

The indexes a store has, and the sidecars that carry them.

Link copied to clipboard

How much of a store an index can answer for, at one snapshot.

Link copied to clipboard
class IndexDefinition(val path: CatalogPath, val kind: IndexKind = IndexKind.INVERTED, val fields: List<CatalogPath> = emptyList())

What an index is over.

Link copied to clipboard

Base class for every failure the indexing layer raises on its own account.

Link copied to clipboard

An index that has been defined, as the registry records it.

Link copied to clipboard
class IndexOptions(val maxTermsPerSegment: Int = 1 shl 20, val maxTermBytes: Int = 512, val maxDepth: Int = 32, val maxChildren: Int = 1024, val damagedSidecars: DamagedIndexPolicy = DamagedIndexPolicy.REPORT, val maxColumnValuesPerSegment: Int = 1 shl 24, val columnTextBoundBytes: Int = 64)

Tuning for IndexCatalog.

Link copied to clipboard
object IndexQuery

Answers a predicate using an index where it can and a scan where it cannot.

Link copied to clipboard

One index, read at one snapshot, with every sidecar it may consult pinned for its lifetime.

Link copied to clipboard

An index catalog was asked something it cannot answer in the state it is in.

Link copied to clipboard

A value, as the index keys it.

Link copied to clipboard
class KeyCursor

Candidate keys, in segment order and ascending within each segment.

Link copied to clipboard
sealed interface ReadableBitmap

A set of document ordinals that can be read, whether it is being built on the heap or read straight out of a mapped file.

Link copied to clipboard

Import and export in the RoaringBitmap portable serialization format.

Link copied to clipboard
class TermExtractor(paths: List<CatalogPath>, options: IndexOptions)

Walks a document and emits the values it contributes to a set of indexed paths.

Link copied to clipboard

A bitmap was written at a format version, or with a container kind, this build does not know.

Link copied to clipboard

A sidecar or registry was written at a format version, section kind or posting encoding this build does not know.