org.apache.lucene.search

Class TopDocs

public class TopDocs extends Object implements Serializable

Expert: Returned by low-level search implementations.

See Also: Searcher

Field Summary
ScoreDoc[]scoreDocs
Expert: The top hits for the query.
inttotalHits
Expert: The total number of hits for the query.

Field Detail

scoreDocs

public ScoreDoc[] scoreDocs
Expert: The top hits for the query.

totalHits

public int totalHits
Expert: The total number of hits for the query.

See Also: length

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.