Class SearchResults
Collection storing Search Results.
Inheritance
System.Object
SearchResults
Namespace: DotNetNuke.Services.Search.Entities
Assembly: DotNetNuke.dll
Syntax
public class SearchResults : object
Constructors
| Improve this Doc View SourceSearchResults()
Initializes a new instance of the SearchResults class.
Declaration
public SearchResults()
Properties
| Improve this Doc View SourceResults
Gets or sets collection of Results.
Declaration
public IList<SearchResult> Results { get; set; }
Property Value
Type | Description |
---|---|
IList<SearchResult> |
TotalHits
Gets or sets total Hits found in Lucene.
Declaration
public int TotalHits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This number will generally be larger than count of Results object as Results usually holds 10 items, whereas TotalHits indicates TOTAL hits in entire Lucene for the query supplied.