Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldDoc
Expert: A ScoreDoc which also contains information about
how to sort the referenced document.
|
Modifier and Type | Field and Description |
---|---|
ScoreDoc[] |
TopDocs.scoreDocs
Expert: The top hits for the query.
|
Modifier and Type | Method and Description |
---|---|
int |
ScoreDocComparator.compare(ScoreDoc i,
ScoreDoc j)
Compares two ScoreDoc objects and returns a result indicating their
sort order.
|
java.lang.Comparable |
ScoreDocComparator.sortValue(ScoreDoc i)
Returns the value used to sort the given document.
|
Constructor and Description |
---|
TopDocs(int totalHits,
ScoreDoc[] scoreDocs,
float maxScore)
Expert: Constructs a TopDocs.
|
TopFieldDocs(int totalHits,
ScoreDoc[] scoreDocs,
SortField[] fields,
float maxScore)
Creates one of these objects.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.