QueryText Element in Microsoft.Search.Query Schema
Published: May 2010
Applies to: Microsoft SharePoint Server 2010 search and Microsoft FAST Search Server 2010 for SharePoint
Contains the search query issued to the Web service. Applies to the SharePoint Enterprise SearchQuery Web service. For more information about the Query Web service, see Using the Query Web Service.
<QueryText language=xml:lang type={STRING|MSSQLFT|FQL}>
searchQuery
</QueryText>
Attribute | Description |
|---|---|
type | Identifies the query type (see the following type Attribute table). |
language | Identifies the language of the keyword search. The value type is xml:lang. If specified, this is interpreted by SharePoint Enterprise Search as the query locale. If not specified, the default value is the language of the site. For more information about query processing related to the query locale for FAST Search Server 2010 for SharePoint, see Linguistic Query Features (FAST Search Server 2010 for SharePoint). |
type Attribute
Value | Description |
|---|---|
STRING | Applies to: Microsoft SharePoint Server 2010 search and Microsoft FAST Search Server 2010 for SharePoint Indicates that the kind of query is keyword query. For information, see Keyword Query Syntax Reference. |
MSSQLFT | Applies to: Microsoft SharePoint Server 2010 search Indicates that the type of query is SQL Full Text Syntax query. For information, see SharePoint Search SQL Syntax Reference. |
FQL | Applies to: Microsoft FAST Search Server 2010 for SharePoint Indicates that the type of query is FAST Query Language (FQL). For details, see FAST Query Language (FQL) Syntax Reference. |
Schema name: Microsoft.Search.Query
Applies to: QueryService.Query method (Microsoft.Search.Response.Document), QueryService.QueryEx method (DataSet Class)
Optional: Yes