Share via


KeywordQuery Members

Include Protected Members
Include Inherited Members

Represents a search query using the Enterprise Search keyword syntax.

The KeywordQuery type exposes the following members.

Constructors

  Name Description
Public method KeywordQuery(SPSite)
Public method KeywordQuery(String) Initializes a new instance of the KeywordQuery class, based on the specified application name.
Public method KeywordQuery(ServerContext) Initializes a new instance of the KeywordQuery class, based on the specified Shared Services Provider (SSP) context.

Top

Properties

  Name Description
Public property Application Gets the application name for the query request. (Inherited from Query.)
Public property AuthenticationType Gets or sets the authentication type for the query. (Inherited from Query.)
Public property Culture Gets or sets the locale for the query. (Inherited from Query.)
Public property EnableStemming Gets or sets a Boolean value that specifies whether stemming is enabled. (Inherited from Query.)
Public property EnableUrlSmashing Gets or sets a Boolean value that specifies whether "URL smashing" (creating a URL by combining the query terms) is enabled.
Public property HiddenConstraints Gets or sets the keyword query’s hidden constraints.
Public property HighlightedSentenceCount Gets or sets the number of sentences to include in the hit-highlighted summary. (Inherited from Query.)
Public property Hint Gets or sets the suggested query processor behavior for the query. (Inherited from Query.)
Public property IgnoreAllNoiseQuery 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 KeywordInclusion 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 PagingCookie Gets or sets a client-side state cookie that tracks the number of query results filtered out by security trimming. (Inherited from Query.)
Public property QueryText Gets or sets the text for the search query. (Inherited from Query.)
Public property ResultTypes Gets or sets a value that specifies the search result type. (Inherited from Query.)
Public property RowLimit Gets or sets the maximum number of rows returned in the search results. (Inherited from Query.)
Public property SelectProperties Gets a list of the properties to return in the search results.
Public property ServerContext Gets a ServerContext object that provides run-time methods for shared services in Microsoft Office SharePoint Server 2007. (Inherited from Query.)
Public property Sid Gets or sets the query’s security identifier (SID). (Inherited from Query.)
Public property Site Gets the collection of Web sites associated with the query. (Inherited from Query.)
Public property SiteContext Gets or sets the site URL for the search query. (Inherited from Query.)
Public property SortList Gets the list of properties by which the search results are ordered.
Public property StartRow Gets or sets first row included in the search results. (Inherited from Query.)
Public property Timeout Gets or sets the amount of time, in milliseconds, before the query request times out. (Inherited from Query.)
Public property TotalRowsExactMinimum Used by Microsoft.Office.Server.Search.WebControls.SearchPagingWebPart to determine the minimum value required for rendering page links. (Inherited from Query.)
Public property TrimDuplicates Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results. (Inherited from Query.)
Public property UrlZone Gets the originating URL zone for the query request. (Inherited from Query.)

Top

Methods

  Name Description
Protected method _GetInterfaces (Inherited from Query.)
Public method Dispose (Inherited from Query.)
Public method Equals (Inherited from Object.)
Public method Execute Executes the keyword syntax search query. (Overrides Query.Execute().)
Protected method Finalize (Inherited from Object.)
Protected method FinishConstruction (Inherited from Query.)
Public method GetHashCode (Inherited from Object.)
Public method GetProperties Returns information about managed properties. (Inherited from Query.)
Public method GetResults This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from Query.)
Public method GetScopes Returns information about search scopes. (Inherited from Query.)
Protected method GetSearchApp Gets the search context for the Shared Service Provider's search service. (Inherited from Query.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ThrowIfProductExpired (Inherited from Query.)
Protected method ThrowIfUnSupportedTopologyForMSSExpress (Inherited from Query.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

KeywordQuery Class

Microsoft.Office.Server.Search.Query Namespace