109 /// <summary> Get the <see cref="Lucene.Net.Documents.Document" />at the <c>n</c><sup>th</sup> position. The <see cref="Lucene.Net.Documents.FieldSelector"/>
110 /// may be used to determine what <see cref="Lucene.Net.Documents.Field" />s to load and how they should be loaded.
111 ///
112 /// <b>NOTE:</b> If the underlying Reader (more specifically, the underlying <c>FieldsReader</c>) is closed before the lazy <see cref="Lucene.Net.Documents.Field" /> is
113 /// loaded an exception may be thrown. If you want the value of a lazy <see cref="Lucene.Net.Documents.Field" /> to be available after closing you must
114 /// explicitly load it or fetch the Document again with a new loader.
115 ///
116 ///
117 /// </summary>
118 /// <param name="n">Get the document at the <c>n</c><sup>th</sup> position
119 /// </param>
120 /// <param name="fieldSelector">The <see cref="Lucene.Net.Documents.FieldSelector" /> to use to determine what Fields should be loaded on the Document. May be null, in which case all Fields will be loaded.
121 /// </param>
122 /// <returns> The stored fields of the <see cref="Lucene.Net.Documents.Document" /> at the nth position
123 /// </returns>
124 /// <throws> CorruptIndexException if the index is corrupt </throws>
125 /// <throws> IOException if there is a low-level IO error </throws>