Table of Contents

Public classSealed TopDocs

Namespace
Rowles.LeanLucene.Search.Scoring
Assembly
Rowles.LeanLucene.dll

Encapsulates the results of a search query.

public sealed class TopDocs
TopDocs

Public constructor TopDocs(int, ScoreDoc[])

Initialises a new TopDocs with the given total hit count and scored results.

Public property Empty

Gets an empty TopDocs with zero hits.

Public property ScoreDocs

Gets the array of scored documents in descending score order.

Public property TotalHits

Gets the total number of documents that matched the query (may be larger than ScoreDocs).