DocIdSet

abstract class DocIdSet : Accountable

A DocIdSet contains a set of doc ids. Implementing classes must only implement .iterator to provide access to the set.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).

Functions

Link copied to clipboard
abstract fun iterator(): DocIdSetIterator

Provides a DocIdSetIterator to access the set. This implementation can return null if there are no docs that match.

Link copied to clipboard
abstract fun ramBytesUsed(): Long

Return the memory usage of this object in bytes. Negative values are illegal.