SearchParameters SearchParameters SearchParameters Class

Definition

Represents the properties that determine the search behavior of compliance search processes.

public ref class SearchParameters : Microsoft::Office::RecordsManagement::SearchAndProcess::ISearchParameters3
public class SearchParameters : Microsoft.Office.RecordsManagement.SearchAndProcess.ISearchParameters3
Public Class SearchParameters
Implements ISearchParameters3
Inheritance
SearchParametersSearchParametersSearchParameters
Derived
Implements

Remarks

This class is used as input for the Microsoft.Office.RecordsManagement.SearchAndProcess.ISearchProvider.PerformSearch method. It contains a set of properties that determine the behavior of search implementations used with the compliance timer jobs "Search and Process" and "Expiration policy". The processes that use this class when calling PerformSearch will populate the properties as if they will be used with a Microsoft.Office.Server.Search.Query.KeywordQuery object.

Constructors

SearchParameters() SearchParameters() SearchParameters()

Initalizes a new instance of a SearchParameters object.

Properties

ContextualScopePath ContextualScopePath ContextualScopePath

Gets or sets the path to which the search is scoped.

ContextualScopeUrl ContextualScopeUrl ContextualScopeUrl

Gets or sets the site URL to which the search is scoped.

EnableQueryRules EnableQueryRules EnableQueryRules

Gets or sets a Boolean value that specifies whether the search query should process query rules.

EnableResultTableStacking EnableResultTableStacking EnableResultTableStacking

Gets or sets a Boolean value that specifies whether multiple result sets should be merged.

EnableStemming EnableStemming EnableStemming

Gets or sets a Boolean value that specifies whether stemming is enabled.

KeywordQuery KeywordQuery KeywordQuery

Gets and sets the query text that is used for executing the search.

LCID LCID LCID

Gets or sets the locale ID (LCID) of the culture that should be used to execute the search.

NoiseIgnored NoiseIgnored NoiseIgnored

Gets or sets a Boolean value that specifies whether the search query should execute even if the query text contains only noise words.

Scope Scope Scope

Gets and sets the scope for the search.

TrimDuplicates TrimDuplicates TrimDuplicates

Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to