Expand Minimize
This topic has not yet been rated - Rate this topic

Query properties

The Query type exposes the following members.

  NameDescription
Public property AuthenticationType Gets or sets the authentication type for the query.
Public property BlockDedupeMode Set BlockRanking dedupe mode
Public property BypassResultTypes
Public property ClientType Name of a client which issued query.
Public property Culture Gets or sets the locale for the query.
Public property Culture_Client
Public property DesiredSnippetLength
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 EnableInterleaving 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 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 EnableOrderingHitHighlightedProperty True if Hithighlighted properties are to be ordered by Hithighlighted terms
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 EnableQueryRules True if Query Rules are turned on for this query. False otherwise. The default value is true.
Public property EnableStemming Gets or sets a Boolean value that specifies whether stemming is enabled.
Public property GenerateBlockRankLog True to return block rank log info in the BlockRankLog property of the interleaved result table
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 HitHighlightedMultivaluePropertyLimit Multi-valued hit highlighted property limit
Public property HitHighlightedProperties Gets the collection of hit-highlighted properties for the query.
Public property HitHighlightedProperties_Client
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 IgnoreSafeQueryPropertiesTemplateUrl Flag indicating that the SafeQueryPropertiesTemplateUrl property is not to be used.
Public property ImpressionID ID of the page impression.
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 MaxSnippetLength
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 PersonalizationData_Client
Public property Priority
Public property ProcessBestBets True if the BestBets are requested.
Public property ProcessPersonalFavorites True if the PersonalFavorites are requested.
Public property Properties
Public property QueryInfo Get the query log data for a single clickthrough for a search query.
Public property QueryTag Any custom tags to be used to identify the query. Multiple tags are separated by semicolons.
Public property QueryTemplate
Public property QueryTemplateParameters
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 ResultsUrl Results page url of the query
Public property ResultTypes Obsolete. 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 SafeQueryPropertiesTemplateUrl Used by CSOM clients to specify the location of the QueryProperties template. This property must be specified when issuing a query by a user without the UseRemoteAPIs permission. If the query is not to be executed without UseRemoteAPIs then is possible to set the [IgnoreSafeQueryPropertiesTemplateUrl] property to true instead.
Public property ShowPeopleNameSuggestions Whether to generate name suggestions .
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 SourceId The identifier of the the source to be used to run the 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 UILanguage
Public property UrlZone Gets the originating URL zone for the query request.
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.