|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ScoreDoc | |
---|---|
org.apache.lucene.search | Code to search indices. |
Uses of ScoreDoc in org.apache.lucene.search |
---|
Subclasses of ScoreDoc in org.apache.lucene.search | |
---|---|
class |
FieldDoc
Expert: A ScoreDoc which also contains information about how to sort the referenced document. |
Fields in org.apache.lucene.search declared as ScoreDoc | |
---|---|
ScoreDoc[] |
TopDocs.scoreDocs
The top hits for the query. |
Methods in org.apache.lucene.search with parameters of type ScoreDoc | |
---|---|
int |
ScoreDocComparator.compare(ScoreDoc i,
ScoreDoc j)
Deprecated. Compares two ScoreDoc objects and returns a result indicating their sort order. |
protected TopDocs |
TopScoreDocCollector.newTopDocs(ScoreDoc[] results,
int start)
|
protected TopDocs |
TopFieldCollector.newTopDocs(ScoreDoc[] results,
int start)
|
protected TopDocs |
TopDocsCollector.newTopDocs(ScoreDoc[] results,
int start)
Returns a TopDocs instance containing the given results. |
protected void |
TopFieldCollector.populateResults(ScoreDoc[] results,
int howMany)
|
protected void |
TopDocsCollector.populateResults(ScoreDoc[] results,
int howMany)
Populates the results array with the ScoreDoc instaces. |
Comparable |
ScoreDocComparator.sortValue(ScoreDoc i)
Deprecated. Returns the value used to sort the given document. |
Constructors in org.apache.lucene.search with parameters of type ScoreDoc | |
---|---|
TopDocs(int totalHits,
ScoreDoc[] scoreDocs,
float maxScore)
|
|
TopFieldDocs(int totalHits,
ScoreDoc[] scoreDocs,
SortField[] fields,
float maxScore)
Creates one of these objects. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |