Query Members
Include Protected Members
Include Inherited Members
Provides the base class for executing search queries using the Search query object model. This class defines properties and methods that are shared by the FullTextSqlQuery and KeywordQuery classes.
The Query type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Query(SPSite) | Initializes a new instance of the Query class, based on the specified site. | |
Query(String) | Initializes a new instance of the Query class, based on the specified application name. |
Top
Properties
Name | Description | |
---|---|---|
Application | Obsolete. Gets the application name for the query request. | |
AuthenticationType | Gets or sets the authentication type for the query. | |
Culture | Gets or sets the locale for the query. | |
EnableNicknames | Gets or sets a Boolean value that specifies whether the exact terms in the search query are used to find matches, or if nicknames are used as well. | |
EnablePhonetic | Gets or sets a Boolean value that specifies whether the phonetic forms of the query terms are used to find matches. | |
EnableStemming | Gets or sets a Boolean value that specifies whether stemming is enabled. | |
Hint | Gets or sets the suggested query processor behavior for the query. | |
HitHighlightedProperties | Gets the list of hit-highlighted properties. | |
IgnoreAllNoiseQuery | Gets or sets a Boolean value that specifies whether the search query should execute if the query text contains only noise words. | |
KeywordInclusion | Gets or sets a value that specifies whether the query returns results that contain all or any of the specified search terms. | |
QueryText | Gets or sets the text for the search query. | |
RankingModelId | Gets or sets the ranking model identifier (ID). | |
ResultTypes | Gets or sets a value that specifies the search result type. | |
RowLimit | Gets or sets the maximum number of rows to be retrieved in the search results. | |
RowsPerPage | Gets or sets the number of search results to return per page. | |
Site | Gets the site the search query is executed from. | |
SiteContext | Gets or sets the site URL for the search query. | |
StartRow | Gets or sets the first row of information from the search results. | |
SummaryLength | Gets or sets the length of the search result summary. | |
Timeout | Gets or sets the amount of time, in milliseconds, before the query request times out. | |
TotalRowsExactMinimum | Gets or sets the value used to determine the minimum value required for rendering page links. | |
TrimDuplicates | Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results. | |
UrlZone | Gets the originating URL zone for the query request. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Releases the resources for the search query. | |
Equals | (Inherited from Object.) | |
Execute | Executes the search query. | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top