LeafSlice

A class holding a subset of the IndexSearchers leaf contexts to be executed within a single thread. A leaf slice holds references to one or more LeafReaderContextPartition instances. Each partition targets a specific doc id range of a LeafReaderContext.

Constructors

Link copied to clipboard
constructor(leafReaderContextPartitions: MutableList<IndexSearcher.LeafReaderContextPartition>)

Properties

Link copied to clipboard

Returns the total number of docs that a slice targets, by summing the number of docs that each of its leaf context partitions targets.

Link copied to clipboard

The leaves that make up this slice.