Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Represents hits returned by Searcher.Search(Query,Filter,int) and Searcher.Search(Query,int) More...
Inherited by Lucene.Net.Search.TopFieldDocs.
Public Member Functions | |
TopDocs (int totalHits, ScoreDoc[] scoreDocs, float maxScore) | |
| |
Properties | |
int | TotalHits [get, set] |
The total number of hits for the query. | |
ScoreDoc[] | ScoreDocs [get, set] |
The top hits for the query. | |
float | MaxScore [get, set] |
Gets or sets the maximum score value encountered, needed for normalizing. Note that in case scores are not tracked, this returns float.NaN. | |
Represents hits returned by Searcher.Search(Query,Filter,int) and Searcher.Search(Query,int)
Definition at line 27 of file TopDocs.cs.
Lucene.Net.Search.TopDocs.TopDocs | ( | int | totalHits, |
ScoreDoc[] | scoreDocs, | ||
float | maxScore | ||
) |
Definition at line 64 of file TopDocs.cs.
|
getset |
Gets or sets the maximum score value encountered, needed for normalizing. Note that in case scores are not tracked, this returns float.NaN.
Definition at line 53 of file TopDocs.cs.
|
getset |
The top hits for the query.
Definition at line 43 of file TopDocs.cs.
|
getset |
The total number of hits for the query.
Definition at line 35 of file TopDocs.cs.