An iterator over {@link Hits} that provides lazy fetching of each document. {@link Hits#Iterator()} returns an instance of this class. Calls to {@link #next()} return a {@link Hit} instance.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Use TopScoreDocCollector and TopDocs instead. Hits will be removed in Lucene 3.0.")]
public class HitIterator : IEnumerator
Visual Basic
<ObsoleteAttribute("Use TopScoreDocCollector and TopDocs instead. Hits will be removed in Lucene 3.0.")> _
Public Class HitIterator _
	Implements IEnumerator
Visual C++
[ObsoleteAttribute(L"Use TopScoreDocCollector and TopDocs instead. Hits will be removed in Lucene 3.0.")]
public ref class HitIterator : IEnumerator

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search..::..HitIterator

See Also