Passes down the index of the document whose term vector is currently being mapped, once for each top level call to a term vector reader.

Default implementation IGNORES the document number. Override if your implementation needs the document number.

NOTE: Document numbers are internal to Lucene and subject to change depending on indexing operations.

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

Syntax

C#
public virtual void SetDocumentNumber(
	int documentNumber
)
Visual Basic
Public Overridable Sub SetDocumentNumber ( _
	documentNumber As Integer _
)
Visual C++
public:
virtual void SetDocumentNumber(
	int documentNumber
)

Parameters

documentNumber
Type: System..::..Int32
index of document currently being mapped

See Also