• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

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 Source

SearchResults()

Initializes a new instance of the SearchResults class.

Declaration
public SearchResults()

Properties

| Improve this Doc View Source

Results

Gets or sets collection of Results.

Declaration
public IList<SearchResult> Results { get; set; }
Property Value
Type Description
IList<SearchResult>
| Improve this Doc View Source

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.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS