copy

open override fun copy(slot: Int, doc: Int)

This method is called when a new hit is competitive. You should copy any state associated with this document that will be required for future comparisons, into the specified slot.

Parameters

slot

which slot to copy the hit to

doc

docID relative to current reader