| java.lang.Object org.apache.lucene.search.TopDocs org.apache.lucene.search.TopFieldDocs
TopFieldDocs | public class TopFieldDocs extends TopDocs (Code) | | Expert: Returned by low-level sorted search implementations.
Created: Feb 12, 2004 8:58:46 AM
author: Tim Jones (Nacimiento Software) since: lucene 1.4 version: $Id: TopFieldDocs.java 472959 2006-11-09 16:21:50Z yonik $ See Also: Searcher.search(QueryFilterintSort) |
Field Summary | |
public SortField[] | fields The fields which were used to sort results by. |
fields | public SortField[] fields(Code) | | The fields which were used to sort results by.
|
TopFieldDocs | TopFieldDocs(int totalHits, ScoreDoc[] scoreDocs, SortField[] fields, float maxScore)(Code) | | Creates one of these objects.
Parameters: totalHits - Total number of hits for the query. Parameters: scoreDocs - The top hits for the query. Parameters: fields - The sort criteria used to find the top hits. Parameters: maxScore - The maximum score encountered. |
|
|