DeletedTerms

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Properties

Link copied to clipboard

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

Link copied to clipboard

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard

Consume all terms in a sorted order.

Link copied to clipboard
fun get(term: Term): Int

Get the newest doc id of the deleted term.

Link copied to clipboard

Visible for testing.

Link copied to clipboard

Just for test, not efficient.

Link copied to clipboard
fun put(term: Term, value: Int)

Put the newest doc id of the deleted term.

Link copied to clipboard
open override fun ramBytesUsed(): Long

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

Link copied to clipboard
fun size(): Int
Link copied to clipboard
open override fun toString(): String

Used for BufferedUpdates.VERBOSE_DELETES.