Class SearchDataStore
The SearchDataStore is an implementation of the abstract SearchDataStoreProvider class.
Inherited Members
Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke.dll
Syntax
public class SearchDataStore : SearchDataStoreProvider
Methods
| Improve this Doc View SourceGetSearchItems(Int32, Int32, Int32)
GetSearchItems gets a collection of Search Items for a Module/Tab/Portal.
Declaration
public override SearchResultsInfoCollection GetSearchItems(int portalId, int tabId, int moduleId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | A Id of the Portal. |
System.Int32 | tabId | A Id of the Tab. |
System.Int32 | moduleId | A Id of the Module. |
Returns
Type | Description |
---|---|
SearchResultsInfoCollection |
Overrides
| Improve this Doc View SourceGetSearchResults(Int32, String)
GetSearchResults gets the search results for a passed in criteria string.
Declaration
public override SearchResultsInfoCollection GetSearchResults(int portalId, string criteria)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | A Id of the Portal. |
System.String | criteria | The criteria string. |
Returns
Type | Description |
---|---|
SearchResultsInfoCollection |
Overrides
| Improve this Doc View SourceStoreSearchItems(SearchItemInfoCollection)
StoreSearchItems adds the Search Item to the Data Store.
Declaration
public override void StoreSearchItems(SearchItemInfoCollection searchItems)
Parameters
Type | Name | Description |
---|---|---|
SearchItemInfoCollection | searchItems | A Collection of SearchItems. |