Method SetDocumentNumber
SetDocumentNumber(Int32)
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.
Declaration
public virtual void SetDocumentNumber(int documentNumber)
Parameters
Type | Name | Description |
---|---|---|
System. |
documentNumber | index of document currently being mapped |