Query 成员 (Microsoft.Office.Server.Search.Query)

The base class for executing search queries using the 企业级搜索 query object model. Defines the properties and methods that are shared by the FullTextSqlQuery and KeywordQuery classes.

以下表格列出了由 Query 类型公开的成员。

公共属性

  名称 说明
公共属性 Application 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.
公共属性 EnableStemming Gets or sets a Boolean value that specifies whether stemming is enabled.
公共属性 HighlightedSentenceCount Gets or sets the number of sentences to include in the hit-highlighted summary.
公共属性 Hint Gets or sets the suggested query processor behavior for the query.
公共属性 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.
公共属性 PagingCookie Gets or sets a client-side state cookie that tracks the number of query results filtered out by security trimming.
公共属性 QueryText Gets or sets the text for the search query.
公共属性 ResultTypes Gets or sets a value that specifies the search result type.
公共属性 RowLimit Gets or sets the maximum number of rows returned in the search results.
公共属性 ServerContext Gets a ServerContext object that provides run-time methods for shared services in Microsoft Office SharePoint Server 2007.
公共属性 Sid Gets or sets the query’s security identifier (SID).
公共属性 Site Gets the collection of Web sites associated with the query.
公共属性 SiteContext Gets or sets the site URL for the search query.
公共属性 StartRow Gets or sets first row included in the search results.
公共属性 Timeout Gets or sets the amount of time, in milliseconds, before the query request times out.
公共属性 TotalRowsExactMinimum Used by Microsoft.Office.Server.Search.WebControls.SearchPagingWebPart 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.

页首

公共方法

(另请参阅 受保护的方法 )

  名称 说明
公共方法 Dispose  
公共方法 Equals  已重载。 (继承自 Object
公共方法 Execute Executes the search query.
公共方法 GetHashCode  (继承自 Object
公共方法 GetProperties Returns information about managed properties.
公共方法 GetResults 该成员仅供内部使用,不应在代码中直接使用。
公共方法 GetScopes Returns information about search scopes.
公共方法 GetType  (继承自 Object
公共方法 静态 ReferenceEquals  (继承自 Object
公共方法 ToString  (继承自 Object

页首

受保护的方法

  名称 说明
受保护的方法 _GetInterfaces  
受保护的方法 Finalize  (继承自 Object
受保护的方法 FinishConstruction  
受保护的方法 GetSearchApp Gets the search context for the Shared Service Provider's search service.
受保护的方法 MemberwiseClone  (继承自 Object
受保护的方法 ThrowIfProductExpired  
受保护的方法 ThrowIfUnSupportedTopologyForMSSExpress  

页首

另请参阅

参考

Query 类
Microsoft.Office.Server.Search.Query 命名空间