Package org.apache.lucene.search
Class TopFieldDocs
- java.lang.Object
-
- org.apache.lucene.search.TopDocs
-
- org.apache.lucene.search.TopFieldDocs
-
public class TopFieldDocs extends TopDocs
Represents hits returned byIndexSearcher.search(Query,int,Sort)
.
-
-
Constructor Summary
Constructors Constructor Description TopFieldDocs(TotalHits totalHits, ScoreDoc[] scoreDocs, SortField[] fields)
Creates one of these objects.
-
-
-
Field Detail
-
fields
public SortField[] fields
The fields which were used to sort results by.
-
-