Share via


Query members

NOTE: This API is now obsolete.

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
Public method Query(SPSite) Obsolete. Initializes a new instance of the Query class, based on the specified site.
Public method Query(SPWeb) Obsolete.
Public method Query(String) Obsolete. Initializes a new instance of the Query class, based on the specified application name.

Top

Properties

  Name Description
Public property AuthenticationType Obsolete. Gets or sets the authentication type for the query.
Public property BlockDedupeMode Obsolete. Set BlockRanking dedupe mode
Public property BypassResultTypes Obsolete.
Public property ClientType Obsolete. Name of a client which issued query.
Public property Culture Obsolete. Gets or sets the locale for the query.
Public property Culture_Client Obsolete.
Public property DesiredSnippetLength Obsolete.
Public property EnableInterleaving Obsolete. True if the ResultTables in the ResultTableCollection produced by executing this query should be interleaved. False otherwise. The default value is true.
Public property EnableNicknames Obsolete. 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.
Public property EnableOrderingHitHighlightedProperty Obsolete.
Public property EnablePhonetic Obsolete. Gets or sets a Boolean value that specifies whether the phonetic forms of the query terms are used to find matches.
Public property EnableQueryRules Obsolete. True if Query Rules are turned on for this query. False otherwise. The default value is true.
Public property EnableStemming Obsolete. Gets or sets a Boolean value that specifies whether stemming is enabled.
Public property GenerateBlockRankLog Obsolete. True to return block rank log info in the BlockRankLog property of the interleaved result table
Public property HighlightedSentenceCount Obsolete.
Public property Hint Obsolete. Gets or sets the suggested query processor behavior for the query.
Public property HitHighlightedMultivaluePropertyLimit Obsolete.
Public property HitHighlightedProperties Obsolete. Gets the list of hit-highlighted properties.
Public property HitHighlightedProperties_Client Obsolete.
Public property IgnoreAllNoiseQuery Obsolete. Gets or sets a Boolean value that specifies whether the search query should execute if the query text contains only noise words.
Public property ImpressionID Obsolete. ID of the page impression.
Public property KeywordInclusion Obsolete. Gets or sets a value that specifies whether the query returns results that contain all or any of the specified search terms.
Public property MaxSnippetLength Obsolete.
Public property Priority Obsolete.
Public property ProcessBestBets Obsolete. True if the BestBets are requested. This value is used when EnableQueryRules = true. Otherwise it is ignored.
Public property ProcessPersonalFavorites Obsolete.
Public property Properties Obsolete.
Public property QueryTemplate Obsolete.
Public property QueryText Obsolete. Gets or sets the text for the search query.
Public property RankingModelId Obsolete. Gets or sets the ranking model identifier (ID).
Public property ResultTypes Obsolete. Gets or sets a value that specifies the search result type.
Public property RowLimit Obsolete. Gets or sets the maximum number of rows to be retrieved in the search results.
Public property RowsPerPage Obsolete. Gets or sets the number of search results to return per page.
Public property Site Obsolete. Gets the site the search query is executed from.
Public property SiteContext Obsolete. Gets or sets the site URL for the search query.
Public property SourceId Obsolete. The identifier of the the source to be used to run the query.
Public property StartRow Obsolete. Gets or sets the first row of information from the search results.
Public property SummaryLength Obsolete. Gets or sets the length of the search result summary.
Public property Timeout Obsolete. Gets or sets the amount of time, in milliseconds, before the query request times out.
Public property TotalRowsExactMinimum Obsolete. Gets or sets the value used to determine the minimum value required for rendering page links.
Public property TrimDuplicates Obsolete. Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results.
Public property UILanguage Obsolete.
Public property UrlZone Obsolete. Gets the originating URL zone for the query request.

Top

Methods

  Name Description
Public method Dispose Obsolete. Releases the resources for the search query.
Public method Equals (Inherited from Object.)
Public method Execute Obsolete. Executes the search query.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetConfigurableDefaults Obsolete.
Protected method SetDefaults Obsolete.
Public method ToString (Inherited from Object.)

Top

See also

Reference

Query class

Microsoft.SharePoint.Search.Query namespace