Microsoft.SharePoint.Search.Query Namespace
The Microsoft.SharePoint.Search.Query namespace provides an entry point into the Microsoft SharePoint Foundation 2010 Search Query object model. You can use the Query object model to build custom search Web Parts and search applications to execute queries against the Search service. You can find the Microsoft.SharePoint.Search.Query namespace in the Microsoft.SharePoint.Search.dll.
Classes
Class | Description | |
---|---|---|
AllNoiseQueryException | Represents the exception that is thrown when a search query's terms are all noise words. | |
FullTextSqlQuery | Represents a search query using the SearchSQL Syntax. | |
FullTextSqlQueryProperties | Represents the properties for a search query using the Search SQL syntax. | |
HighlightedString | Represents the hit-highlighted summary. | |
InvalidPropertyException | Represents the exception that is thrown when the search query contains a property that is not valid. | |
KeywordInformation | Contains information about a keyword. | |
KeywordQuery | Represents a search query that uses the Keyword syntax. | |
KeywordQueryProperties | Represents the properties for a search query using the Keyword syntax. | |
PropertyConstraint | Represents a property constraint and a set of constraining values. | |
PropertyConstraintCollection | Represents a collection of PropertyConstraint objects. | |
PropertyInformation | Provides information about a managed property. | |
Query | Provides the base class for executing search queries using the Search query object model. This class defines properties and methods that are shared by the FullTextSqlQuery and KeywordQuery classes. | |
QueryContainsOnlyExcludedTermsException | Represents the exception that is thrown when the search query contains only excluded terms. | |
QueryMalformedException | Represents the exception that is thrown when a search query is not formed correctly. | |
QueryProperties | Represents the properties for a search query. | |
RankingModelNotFoundException | ||
ResultTable | Provides a means of reading query search results through the IDataReader interface. Each row of the IDataReader represents one search result. | |
ResultTableCollection | Represents a collection of ResultTable objects. | |
ScopeNotFoundException | Represents the exception that is thrown when the scope name specified for a search query does not exist. | |
SearchQueryException | Provides the base class for Search query exceptions. | |
SearchServiceNotFoundException | Represents the exception that is thrown when the search service is unavailable. | |
Sort | Defines how the search results are sorted. | |
SortCollection | Represents a collection of Sort structures. |
Structures
Structure | Description | |
---|---|---|
ResultDefinition | Provides the information about a keyword definition in the search results. |
Enumerations
Enumeration | Description | |
---|---|---|
CollapsingStatus | Defines whether duplicate results are collapsed for Search queries results. | |
KeywordInclusion | Defines the keyword inclusion values. | |
QueryAuthenticationType | Defines the query authentication types supported in Search. | |
QueryHint | Represents possible values for Hint. | |
ResultType | Defines the result types for Search results. | |
SortDirection | Defines the sort direction values for ordering search results. |