java.lang.Object | ||
↳ | org.apache.lucene.search.TopDocs | |
↳ | org.apache.lucene.search.TopFieldDocs |
Represents hits returned by search(Query, Filter, int, Sort)
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fields | The fields which were used to sort results by. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.TopDocs
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates one of these objects.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.TopDocs
| |||||||||||
From class
java.lang.Object
|
Creates one of these objects.
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. |