Returns the stored fields of the
nth
Documentin this index.
Returns the stored fields of the
nth
Documentin this index.
public virtual Document Document(int);
Get the {@link Lucene.Net.Documents.Document} at the
nth position. The {@link Lucene.Net.Documents.FieldSelector} may be used to determine what {@link Lucene.Net.Documents.Field}s to load and how they should be loaded. NOTE: If this Reader (more specifically, the underlying {@link FieldsReader} is closed before the lazy {@link Lucene.Net.Documents.Field} is loaded an exception may be thrown. If you want the value of a lazy {@link Lucene.Net.Documents.Field} to be available after closing you must explicitly load it or fetch the Document again with a new loader.
public abstract Document Document(int,FieldSelector);
IndexReader Class | Lucene.Net.Index Namespace