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

Class SearchDataStore

The SearchDataStore is an implementation of the abstract SearchDataStoreProvider class.

Inheritance
System.Object
SearchDataStoreProvider
SearchDataStore
Inherited Members
SearchDataStoreProvider.Instance()
Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke.dll
Syntax
public class SearchDataStore : SearchDataStoreProvider

Methods

| Improve this Doc View Source

GetSearchItems(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

A SearchResultsInfoCollection.

Overrides
SearchDataStoreProvider.GetSearchItems(Int32, Int32, Int32)
| Improve this Doc View Source

GetSearchResults(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

A SearchResultsInfoCollection.

Overrides
SearchDataStoreProvider.GetSearchResults(Int32, String)
| Improve this Doc View Source

StoreSearchItems(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.

Overrides
SearchDataStoreProvider.StoreSearchItems(SearchItemInfoCollection)

Extension Methods

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