FileDocCategorySizeDatePackage
TopFieldDocs.javaAPI DocApache Lucene 1.4.31439Fri Feb 27 12:29:32 GMT 2004org.apache.lucene.search

TopFieldDocs

public class TopFieldDocs extends TopDocs
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,v 1.2 2004/02/27 12:29:31 otis Exp $
see
Searchable#search(Query,Filter,int,Sort)

Fields Summary
public SortField[]
fields
The fields which were used to sort results by.
Constructors Summary
TopFieldDocs(int totalHits, ScoreDoc[] scoreDocs, SortField[] fields)
Creates one of these objects.

param
totalHits Total number of hits for the query.
param
scoreDocs The top hits for the query.
param
fields The sort criteria used to find the top hits.

	  super (totalHits, scoreDocs);
	  this.fields = fields;
	
Methods Summary