The TopFieldDocs type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TopFieldDocs | Creates one of these objects. |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetMaxScore | Returns the maximum score value encountered. Note that in case
scores are not tracked, this returns {@link Float#NaN}.
(Inherited from TopDocs.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetMaxScore | Sets the maximum score value encountered. (Inherited from TopDocs.) | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| fields | The fields which were used to sort results by. | |
| scoreDocs | Obsolete. The top hits for the query. (Inherited from TopDocs.) | |
| totalHits | Obsolete. The total number of hits for the query. (Inherited from TopDocs.) |
Properties
| Name | Description | |
|---|---|---|
| MaxScore | (Inherited from TopDocs.) | |
| ScoreDocs | (Inherited from TopDocs.) | |
| TotalHits | (Inherited from TopDocs.) |