Expert: Returns the stored fields of document
i. Called by {@link HitCollector} implementations.
Expert: Returns the stored fields of document
i. Called by {@link HitCollector} implementations.
Document Doc(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 the underlying Reader (more specifically, the underlying
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.
Document Doc(int,FieldSelector);
Searchable Interface | Lucene.Net.Search Namespace |