Class TopFieldDocs
Represents hits returned by Search(Query, Filter, Int32, Sort).
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class TopFieldDocs : TopDocs
Constructors
| Improve this Doc View SourceTopFieldDocs(Int32, ScoreDoc[], SortField[], Single)
Creates one of these objects.
Declaration
public TopFieldDocs(int totalHits, ScoreDoc[] scoreDocs, SortField[] fields, float maxScore)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | totalHits | Total number of hits for the query. |
ScoreDoc[] | scoreDocs | The top hits for the query. |
SortField[] | fields | The sort criteria used to find the top hits. |
System.Single | maxScore | The maximum score encountered. |
Properties
| Improve this Doc View SourceFields
The fields which were used to sort results by.
Declaration
public SortField[] Fields { get; set; }
Property Value
Type | Description |
---|---|
SortField[] |