Apache Lucene.Net 2.4.0 Class Library API

Hits.Id Method 

Returns the id for the nth document in this set. Note that ids may change when the index changes, so you cannot rely on the id to be stable.

public int Id(
   int n
);

See Also

Hits Class | Lucene.Net.Search Namespace