Table of Contents

Class SmartSearchDataProvider<T>

Namespace
Dynamicweb.SmartSearch
Assembly
Dynamicweb.Core.dll

A smart search data provider. Inherit from ConfigurableAddIn class

public abstract class SmartSearchDataProvider<T> : SmartSearchDataProvider, ICloneable where T : class

Type Parameters

T
Inheritance
SmartSearchDataProvider<T>
Implements
Derived
Inherited Members

Constructors

SmartSearchDataProvider()

public SmartSearchDataProvider()

Methods

ExecuteQuery(int, SmartSearchRuleGroupCollection, params SmartSearchSortInfo[])

Executes the query.

public T ExecuteQuery(int ResultsLimit, SmartSearchRuleGroupCollection QueryRules, params SmartSearchSortInfo[] SortParams)

Parameters

ResultsLimit int

The results limit.

QueryRules SmartSearchRuleGroupCollection

The query rules.

SortParams SmartSearchSortInfo[]

The sort params.

Returns

T

OnExecuteQuery(int, SmartSearchRuleGroupCollection, SmartSearchSortInfo[])

Called when execute smart search query.

protected virtual T OnExecuteQuery(int ResultsLimit, SmartSearchRuleGroupCollection QueryRules, SmartSearchSortInfo[] SortParams)

Parameters

ResultsLimit int

The results limit.

QueryRules SmartSearchRuleGroupCollection

The query rules.

SortParams SmartSearchSortInfo[]

The sort params.

Returns

T

OnGetEntityType()

Get entity type

protected override Type OnGetEntityType()

Returns

Type
To top