The methods of the Hits class are listed below. For a complete list of Hits class members, see the Hits Members topic.
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. |
Id | Returns 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. |
Length | Returns the total number of hits available in this set. |
Score | Returns the score for the nth document in this set. |
ToString (inherited from Object) | Returns a String that represents the current Object. |