Query Properties

Include Protected Members
Include Inherited Members

The Query type exposes the following members.

Properties

  Name Description
Public property Application Obsolete. Gets the application name for the query request.
Public property AuthenticationType Gets or sets the authentication type for the query.
Public property Culture Gets or sets the locale for the query.
Public property DirectServiceEndpointUri Gets or sets the address the Search service application proxy should use instead of the URL specified in the constructor for the Search service application proxy.
Public property EnableNicknames Applies to: Microsoft SharePoint Server 2010 search
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 EnablePhonetic Gets or sets a Boolean value that specifies whether the phonetic forms of the query terms are used to find matches.
Public property EnableStemming Gets or sets a Boolean value that specifies whether stemming is enabled.
Public property HighlightedSentenceCount Applies to: Microsoft SharePoint Server 2010 search
Gets or sets the number of sentences to include in the hit-highlighted summary.
Public property Hint Gets or sets the suggested query processor behavior for the query.
Public property HitHighlightedProperties Gets the collection of hit-highlighted properties for the query.
Public property IgnoreAllNoiseQuery Applies to: Microsoft SharePoint Server 2010 search
Gets or sets a Boolean value that specifies whether the search query should execute if the query text contains only noise words.
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.
Public property PagingCookie Applies to: Microsoft SharePoint Server 2010 search
Represents the client side cookie used for paging through the search results.
Public property PartitionId Applies to: Microsoft SharePoint Server 2010 search
Specifies the unique identifier (ID) of the index partition to use for this search query.
Public property PersonalizationData Applies to: Microsoft SharePoint Server 2010 search
Gets or sets the unique identifier (ID) for the current user who submitted the search query.
Public property QueryInfo Get the query log data for a single clickthrough for a search query.
Public property QueryText Gets or sets the text for the search query.
Public property RankingModelId Applies to: Microsoft SharePoint Server 2010 search
Gets or sets the identifier (ID) of the ranking model to use for the query.
Public property ResultsProvider Gets or sets the search provider used for the search query
Public property ResultTypes Gets or sets a value that specifies the search result type.
Public property RowLimit Gets or sets the maximum number of rows returned in the search results.
Public property RowsPerPage Gets or sets the number of search results to return per page.
Public property SearchApplication Obsolete. Applies to: Microsoft SharePoint Server 2010 search
Gets the Search service application instance for the search query.
Public property Site Gets the site the search query is executed from.
Public property SiteContext Gets or sets the site URL for the search query.
Public property StartRow Gets or sets first row included in the search results.
Public property SummaryLength Applies to: Microsoft SharePoint Server 2010 search
Gets or sets the length of the search result summary.
Public property Timeout Applies to: Microsoft SharePoint Server 2010 search
Gets or sets the amount of time, in milliseconds, before the query request times out.
Public property TotalRowsExactMinimum Applies to: Microsoft SharePoint Server 2010 search
Used by SearchPagingWebPart to determine the minimum value required for rendering page links.
Public property TrimDuplicates Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results. For FAST Search Server 2010 for SharePoint, this property can also be used to collapse hits in the result set.
Public property UrlZone Gets the originating URL zone for the query request.

Top

See Also

Reference

Query Class

Microsoft.Office.Server.Search.Query Namespace