NotDocIdSet

class NotDocIdSet(maxDoc: Int, in: DocIdSet) : DocIdSet

This DocIdSet encodes the negation of another DocIdSet. It is cacheable and supports random-access if the underlying set is cacheable and supports random-access.

Constructors

Link copied to clipboard
constructor(maxDoc: Int, in: DocIdSet)

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
open override 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
open override fun ramBytesUsed(): Long

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