Class SearchRequest
- Namespace
- Dynamicweb.QueryPublisher
- Assembly
- Dynamicweb.QueryPublisher.dll
public class SearchRequest
- Inheritance
-
SearchRequest
- Inherited Members
Properties
CurrentPage
Defines which page of the paginated resultset to return. Eg. PageSize of 10 and CurrentPage of 2 in a resultset of 30, returns result item #11 to #20.
public int CurrentPage { get; set; }
Property Value
FacetGroupNames
List FacetGroupNames.
public IList<string> FacetGroupNames { get; }
Property Value
PageSize
Limits the number of results in the returned view
public int PageSize { get; set; }
Property Value
Parameters
Search parameters associated with the query.
public Dictionary<string, object> Parameters { get; }
Property Value
QueryName
Used together with the RepositoryName to perform a search for results.
public string QueryName { get; set; }
Property Value
RepositoryName
Used together with the QueryName to perform a search for results.
public string RepositoryName { get; set; }
Property Value
ShowFacetOptionsWithNoResult
Determines whether facet options without results are displayed.
public bool ShowFacetOptionsWithNoResult { get; set; }
Property Value
SortBy
The field to sort by.
public string SortBy { get; set; }
Property Value
SortOrder
The sort direction. Default is ASC, the other option is DESC.
public string SortOrder { get; set; }
Property Value
Methods
AddFacetGroupName(string)
public void AddFacetGroupName(string value)
Parameters
value
string
AddParameter(string, object)
public void AddParameter(string key, object value)