Method GetOrd
GetOrd(Int32)
Returns the ordinal for the specified docID.
Declaration
public abstract int GetOrd(int docID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docID | document ID to lookup |
Returns
Type | Description |
---|---|
System.Int32 | ordinal for the document: this is dense, starts at 0, then increments by 1 for the next value in sorted order. Note that missing values are indicated by -1. |