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.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public abstract void Copy(
	int slot,
	int doc
)
Visual Basic
Public MustOverride Sub Copy ( _
	slot As Integer, _
	doc As Integer _
)
Visual C++
public:
virtual void Copy(
	int slot, 
	int doc
) abstract

Parameters

slot
Type: System..::..Int32
which slot to copy the hit to
doc
Type: System..::..Int32
docID relative to current reader

See Also