Interface ISearchController
Namespace: DotNetNuke.Services.Search.Controllers
Assembly: DotNetNuke.dll
Syntax
public interface ISearchController
Methods
| Improve this Doc View SourceModuleSearch(SearchQuery)
Get Search Result for the searchQuery at the Module Level.
Declaration
SearchResults ModuleSearch(SearchQuery searchQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchQuery | searchQuery | SearchQuery object with various search criteria. |
Returns
| Type | Description |
|---|---|
| SearchResults | SearchResults. |
Remarks
SearchTypeIds provided in the searchQuery will be ignored.
SiteSearch(SearchQuery)
Get Search Result for the searchQuery at the Site Level.
Declaration
SearchResults SiteSearch(SearchQuery searchQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchQuery | searchQuery | SearchQuery object with various search criteria. |
Returns
| Type | Description |
|---|---|
| SearchResults | SearchResults. |