
TopDocs
- Namespace
- Rowles.LeanLucene.Search.Scoring
- Assembly
- Rowles.LeanLucene.dll
Encapsulates the results of a search query.
public sealed class TopDocs
TopDocs
TopDocs(int, ScoreDoc[])
Initialises a new TopDocs with the given total hit count and scored results.
Empty
Gets an empty TopDocs with zero hits.
ScoreDocs
Gets the array of scored documents in descending score order.
TotalHits
Gets the total number of documents that matched the query (may be larger than ScoreDocs).