SearchDataProvider Class |
Namespace: Colygon.MatchPoint.Search.DataProvider
[SerializableAttribute] public class SearchDataProvider : DataProviderWithConditions, IFilterableDataProvider
The SearchDataProvider type exposes the following members.
Name | Description | |
---|---|---|
SearchDataProvider | Initializes a new instance of the SearchDataProvider class |
Name | Description | |
---|---|---|
AdvancedQuerySettings | ||
Conditions | Contains the conditions of the data provider. (Inherited from DataProviderWithConditions.) | |
RowLimit |
Name | Description | |
---|---|---|
CreateInstance(String, IEnumerableString) |
Returns the BaseDataProviderInstance object responsible for aggregating the data for this data
provider.
(Overrides BaseDataProviderCreateInstance(String, IEnumerableString).) | |
CreateInstance(String, IEnumerableString, IEnumerableBaseCondition) |
Returns the BaseDataProviderInstance object responsible for aggregating the data for this data
provider.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetFieldNames | All available fields in the search. (Overrides BaseDataProviderGetFieldNames(MPInstance).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AllowComplexQueries | If set to false, quotation marks ('"') will be escaped and the query will be treated as a whole. Otherwise the FullTextCondition's input value will be added to the query as it is. This allows users to write raw KQL into the condition: "(Title:Bar* AND Number=42 OR (Foo))". Note: In order to use stemming 'AllowComplexQueries' has to be enabled. | |
CacheExpirationMinutes | Specifies how long the data is cached (in minutes). | |
CacheGranularity | Specifies how the data is cached. Choose 'User' if the query depends on the current user (e.g. user ID in the query or security trimmed data). | |
CacheKey | Specifies the cache key for this data provider. (Inherited from BaseDataProvider.) | |
EnableStemming | If enabled, full text search stemming is activated (not recommended because this might result in unpredictable results). Stemming does not work if 'AllowComplexQueries' is set to false. | |
LcidExpression | Specifies the language (LCID) to determine which wordbreaker, stemmer, thesaurus, and other language-sensitive components to use in the query. | |
Ranking | Specifies the ranking settings used for the search queries. | |
ResultSourceExpression | Specifies the result source used by the search query. If the result source is specified using an expression, the expression evaluation type is expected to be the ID or the name of the result source. | |
ShowAlertMeButton | If enabled, an 'Alert me' button will be displayed beneath the grid. This field is valid only within a DataGrid or Composite Web Part configuration. | |
SortFields | Contains fields which should be used to sort the search results. | |
TrimDuplicates | Specifies, whether duplicates are removed before sorting, selecting, and returning result items. Note that if this is set to true it's possible that the native refinement count is wrong. |