java.lang.Object | |
↳ | org.apache.lucene.search.TopDocs |
Known Direct Subclasses |
Represents hits returned by search(Query, Filter, int)
and search(Query, int)
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
scoreDocs | The top hits for the query. | ||||||||||
totalHits | The total number of hits for the query. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the maximum score value encountered.
| |||||||||||
Sets the maximum score value encountered.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The total number of hits for the query.
Returns the maximum score value encountered. Note that in case
scores are not tracked, this returns NaN
.
Sets the maximum score value encountered.