|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.search.TopDocs
org.apache.lucene.search.TopFieldDocs
public class TopFieldDocs
Expert: Returned by low-level sorted search implementations.
Created: Feb 12, 2004 8:58:46 AM
Searcher.search(Query,Filter,int,Sort),
Serialized Form| Field Summary | |
|---|---|
SortField[] |
fields
The fields which were used to sort results by. |
| Fields inherited from class org.apache.lucene.search.TopDocs |
|---|
scoreDocs, totalHits |
| Constructor Summary | |
|---|---|
TopFieldDocs(int totalHits,
ScoreDoc[] scoreDocs,
SortField[] fields,
float maxScore)
Creates one of these objects. |
|
| Method Summary |
|---|
| Methods inherited from class org.apache.lucene.search.TopDocs |
|---|
getMaxScore, setMaxScore |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public SortField[] fields
| Constructor Detail |
|---|
public TopFieldDocs(int totalHits,
ScoreDoc[] scoreDocs,
SortField[] fields,
float maxScore)
totalHits - Total number of hits for the query.scoreDocs - The top hits for the query.fields - The sort criteria used to find the top hits.maxScore - The maximum score encountered.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||