Share via


KeywordQuery members

NOTE: This API is now obsolete.

Represents a search query that uses the Keyword syntax.

The KeywordQuery type exposes the following members.

Constructors

  Name Description
Public method KeywordQuery() Obsolete.
Public method KeywordQuery(SPSite) Obsolete. Initializes a new instance of the KeywordQuery class based on the specified site.
Public method KeywordQuery(SPWeb) Obsolete.
Public method KeywordQuery(String) Obsolete. Initializes a new instance of the KeywordQuery class, based on the specified application name.

Top

Properties

  Name Description
Public property AuthenticationType Obsolete. Gets or sets the authentication type for the query. (Inherited from Query.)
Public property BlockDedupeMode Obsolete. Set BlockRanking dedupe mode (Inherited from Query.)
Public property BypassResultTypes Obsolete. (Inherited from Query.)
Public property ClientType Obsolete. Name of a client which issued query. (Inherited from Query.)
Public property Culture Obsolete. Gets or sets the locale for the query. (Inherited from Query.)
Public property Culture_Client Obsolete. (Inherited from Query.)
Public property DesiredSnippetLength Obsolete. (Inherited from Query.)
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. (Inherited from Query.)
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. (Inherited from Query.)
Public property EnableOrderingHitHighlightedProperty Obsolete. (Inherited from Query.)
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. (Inherited from Query.)
Public property EnableQueryRules Obsolete. True if Query Rules are turned on for this query. False otherwise. The default value is true. (Inherited from Query.)
Public property EnableSorting Obsolete. Indicates whether results are to be sorted If true, results are sorted using SortList, or by rank if SortList is empy If false, results are not sorted
Public property EnableStemming Obsolete. Gets or sets a Boolean value that specifies whether stemming is enabled. (Inherited from Query.)
Public property EnableUrlSmashing Obsolete. Gets or sets a Boolean value that specifies whether "URL smashing" (creating a URL by combining the query terms) is enabled.
Public property GenerateBlockRankLog Obsolete. True to return block rank log info in the BlockRankLog property of the interleaved result table (Inherited from Query.)
Public property HiddenConstraints Obsolete. Gets or sets the keyword query’s hidden constraints.
Public property HighlightedSentenceCount Obsolete. (Inherited from Query.)
Public property Hint Obsolete. Gets or sets the suggested query processor behavior for the query. (Inherited from Query.)
Public property HitHighlightedMultivaluePropertyLimit Obsolete. (Inherited from Query.)
Public property HitHighlightedProperties Obsolete. Gets the list of hit-highlighted properties. (Inherited from Query.)
Public property HitHighlightedProperties_Client Obsolete. (Inherited from Query.)
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. (Inherited from Query.)
Public property ImpressionID Obsolete. ID of the page impression. (Inherited from Query.)
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. (Inherited from Query.)
Public property KeywordQueryProperties_Client Obsolete.
Public property MaxSnippetLength Obsolete. (Inherited from Query.)
Public property Priority Obsolete. (Inherited from Query.)
Public property ProcessBestBets Obsolete. True if the BestBets are requested. This value is used when EnableQueryRules = true. Otherwise it is ignored. (Inherited from Query.)
Public property ProcessPersonalFavorites Obsolete. (Inherited from Query.)
Public property Properties Obsolete. (Inherited from Query.)
Public property QueryTemplate Obsolete. (Inherited from Query.)
Public property QueryText Obsolete. Gets or sets the text for the search query. (Inherited from Query.)
Public property RankingModelId Obsolete. Gets or sets the ranking model identifier (ID). (Inherited from Query.)
Public property ReorderingRules Obsolete.
Public property ResultTypes Obsolete. Gets or sets a value that specifies the search result type. (Inherited from Query.)
Public property RowLimit Obsolete. Gets or sets the maximum number of rows to be retrieved in the search results. (Inherited from Query.)
Public property RowsPerPage Obsolete. Gets or sets the number of search results to return per page. (Inherited from Query.)
Public property SearchTerms Obsolete. Gets the terms used for the search query.
Public property SelectProperties Obsolete. Gets a list of the properties to return in the search results.
Public property SelectProperties_Client Obsolete.
Public property Site Obsolete. Gets the site the search query is executed from. (Inherited from Query.)
Public property SiteContext Obsolete. Gets or sets the site URL for the search query. (Inherited from Query.)
Public property SortList Obsolete. Gets the list of properties by which the search results are ordered.
Public property SourceId Obsolete. The identifier of the the source to be used to run the query. (Inherited from Query.)
Public property StartRow Obsolete. Gets or sets the first row of information from the search results. (Inherited from Query.)
Public property SummaryLength Obsolete. Gets or sets the length of the search result summary. (Inherited from Query.)
Public property Timeout Obsolete. Gets or sets the amount of time, in milliseconds, before the query request times out. (Inherited from Query.)
Public property TimeZone Obsolete. Gets or sets the time zone for the search user.
Public property TotalRowsExactMinimum Obsolete. Gets or sets the value used to determine the minimum value required for rendering page links. (Inherited from Query.)
Public property TrimDuplicates Obsolete. Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results. (Inherited from Query.)
Public property UILanguage Obsolete. (Inherited from Query.)
Public property UrlZone Obsolete. Gets the originating URL zone for the query request. (Inherited from Query.)

Top

Methods

  Name Description
Public method Dispose Obsolete. Releases the resources for the search query. (Inherited from Query.)
Public method Equals (Inherited from Object.)
Public method Execute Obsolete. Executes the search query. (Inherited from 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. (Inherited from Query.)
Protected method SetDefaults Obsolete. (Inherited from Query.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

KeywordQuery class

Microsoft.SharePoint.Search.Query namespace