Apache Lucene.Net 2.1 Class Library API

Hits Methods

The methods of the Hits class are listed below. For a complete list of Hits class members, see the Hits Members topic.

Public Instance Methods

Doc 
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IdReturns the id for the nth document in this set.
Iterator Returns a {@link HitIterator} to navigate the Hits. Each item returned from {@link Iterator#Next()} is a {@link Hit}. Caution: Iterate only over the hits needed. Iterating over all hits is generally not desirable and may be the source of performance issues.
LengthReturns the total number of hits available in this set.
ScoreReturns the score for the nth document in this set.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

Hits Class | Lucene.Net.Search Namespace