KeywordQuery Members
Include Protected Members
Include Inherited Members
Represents a search query that uses the SharePoint Enterprise Search keyword syntax. For information about constructing keyword queries, see the Keyword Query Syntax Reference.
The KeywordQuery type exposes the following members.
Constructors
Name | Description | |
---|---|---|
KeywordQuery(ServerContext) | Initializes a new instance of the KeywordQuery class, based on the specified service application context. | |
KeywordQuery(SPSite) | Initializes a new instance of the KeywordQuery class, based on the specified site. | |
KeywordQuery(String) | Obsolete. Initializes a new instance of the KeywordQuery class, based on the specified application name. | |
KeywordQuery(SearchServiceApplicationProxy) | Initializes a new instance of the KeywordQuery class, based on the specified Search service application. |
Top
Properties
Name | Description | |
---|---|---|
Application | Obsolete. Gets the application name for the query request. (Inherited from Query.) | |
AuthenticationType | Gets or sets the authentication type for the query. (Inherited from Query.) | |
Culture | Gets or sets the locale for the query. (Inherited from Query.) | |
CustomRefinementIntervals | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets the refinement intervals that should be imposed on the FAST Search Server 2010 for SharePoint refinements. |
|
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. (Inherited from Query.) | |
EnableFQL | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets a Boolean value that specifies whether the query string is according to the FAST Query Language (FQL) syntax. For details, see FAST Query Language (FQL) Syntax Reference. |
|
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. (Inherited from Query.) |
|
EnablePhonetic | Gets or sets a Boolean value that specifies whether the phonetic forms of the query terms are used to find matches. (Inherited from Query.) | |
EnableSpellcheck | Applies to: Microsoft FAST Search Server 2010 for SharePoint Specifies how to apply spell correction of the query terms when processing the query. For details, see Linguistic Query Features (FAST Search Server 2010 for SharePoint). |
|
EnableStemming | Gets or sets a Boolean value that specifies whether stemming is enabled. (Inherited from Query.) | |
EnableUrlSmashing | Applies to: Microsoft SharePoint Server 2010 search Gets or sets a Boolean value that specifies whether "URL smashing" (creating a URL by combining the query terms) is enabled. |
|
HiddenConstraints | Applies to: Microsoft SharePoint Server 2010 search Gets or sets the keyword query’s hidden constraints. |
|
HighlightedSentenceCount | Applies to: Microsoft SharePoint Server 2010 search Gets or sets the number of sentences to include in the hit-highlighted summary. (Inherited from Query.) |
|
Hint | Gets or sets the suggested query processor behavior for the query. (Inherited from Query.) | |
HitHighlightedProperties | Gets the collection of hit-highlighted properties for the query. (Inherited from Query.) | |
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. (Inherited from Query.) |
|
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.) | |
MaxShallowRefinementHits | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets the number of results to be used to calculate shallow refinement results. |
|
MaxSummaryLength | Gets or sets the maximum length of the search result summary. | |
MaxUrlLength | Gets or sets the maximum length of the search result URL. | |
PagingCookie | Applies to: Microsoft SharePoint Server 2010 search Represents the client side cookie used for paging through the search results. (Inherited from Query.) |
|
PartitionId | Applies to: Microsoft SharePoint Server 2010 search Specifies the unique identifier (ID) of the index partition to use for this search query. (Inherited from Query.) |
|
PersonalizationData | Applies to: Microsoft SharePoint Server 2010 search Gets or sets the unique identifier (ID) for the current user who submitted the search query. (Inherited from Query.) |
|
QueryInfo | Get the query log data for a single clickthrough for a search query. (Inherited from Query.) | |
QueryText | Gets or sets the text for the search query. (Inherited from Query.) | |
RankingModelId | Applies to: Microsoft SharePoint Server 2010 search Gets or sets the identifier (ID) of the ranking model to use for the query. (Inherited from Query.) |
|
RefinementFilters | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets the set of refinement filters used when issuing a refinement query. |
|
Refiners | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets the set of refiners to be returned in a search result. The value for each refiner is a format string that specifies the name of a refiner and optionally a set of refinement options for this refiner. For details, see Specifying Refiners. Default: No refiners will be returned with the query result if the Refiners property is empty. |
|
ResubmitFlags | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets the criteria for automatically resubmitting a search query that yielded no results. |
|
ResultsProvider | Gets or sets the search provider used for the search query (Inherited from Query.) | |
ResultTypes | Gets or sets a value that specifies the search result type. (Inherited from Query.) | |
RowLimit | Gets or sets the maximum number of rows returned in the search results. (Inherited from Query.) | |
RowsPerPage | Gets or sets the number of search results to return per page. (Inherited from Query.) | |
SearchApplication | Obsolete. Applies to: Microsoft SharePoint Server 2010 search Gets the Search service application instance for the search query. (Inherited from Query.) |
|
SearchTerms | Gets the terms used for the search query. | |
SelectProperties | Gets a list of the properties to return in the search results. | |
SimilarTo | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets the similarity reference when performing a find similar query. For details, see Find Similar (FAST Search Server 2010 for SharePoint). |
|
SimilarType | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets the type of find similar query to perform. For details, see Find Similar (FAST Search Server 2010 for SharePoint). |
|
Site | Gets the site the search query is executed from. (Inherited from Query.) | |
SiteContext | Gets or sets the site URL for the search query. (Inherited from Query.) | |
SortList | Gets the list of properties by which the search results are ordered. | |
SortSimilar | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets a Boolean value that specifies whether query results based on similarity shall be sorted by similarity. For details, see Find Similar (FAST Search Server 2010 for SharePoint). |
|
StartRow | Gets or sets first row included in the search results. (Inherited from Query.) | |
SummaryLength | Applies to: Microsoft SharePoint Server 2010 search Gets or sets the length of the search result summary. (Inherited from Query.) |
|
Timeout | Applies to: Microsoft SharePoint Server 2010 search Gets or sets the amount of time, in milliseconds, before the query request times out. (Inherited from Query.) |
|
TimeZone | Gets or sets the time zone for the search user. | |
TotalRowsExactMinimum | Applies to: Microsoft SharePoint Server 2010 search Used by SearchPagingWebPart to determine the minimum value required for rendering page links. (Inherited from Query.) |
|
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. (Inherited from Query.) | |
TrimDuplicatesIncludeId | Specifies the value associated with a collapse group, typically used when a user clicks the Duplicates (n) link of an item with duplicates. | |
TrimDuplicatesKeepCount | Gets or sets the number of duplicates to keep, if duplicates are returned in the search results. | |
TrimDuplicatesOnProperty | Gets or sets the property the duplicates trimming is based on. | |
UrlZone | Gets the originating URL zone for the query request. (Inherited from Query.) | |
UserContextData | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets the user context data associated with the FAST Search Server 2010 for SharePoint search settings. |
|
UserContextGroupID | Applies to: Microsoft FAST Search Server 2010 for SharePoint Gets or sets the identifier used to group keywords used for matching best bets and visual best bets. This property specifies an identifier used to group keywords used for matching best bets and visual best bets. See also Keyword Management (FAST Search Server 2010 for SharePoint). |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Disposes the instance of the Query class. (Inherited from Query.) | |
Equals | (Inherited from Object.) | |
Execute | Executes the search query. (Inherited from Query.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetProperties | Returns information about managed properties. (Inherited from Query.) | |
GetQuerySuggestions | Returns a list of query suggestions matching the search terms typed in the search box. (Inherited from Query.) | |
GetScopes | Returns information about search scopes. (Inherited from Query.) | |
GetType | (Inherited from Object.) | |
HighlightStringValue | Applies to: Microsoft SharePoint Server 2010 search Highlights all the occurrences of the specified query terms in a string. (Inherited from Query.) |
|
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top