Share via


QueryText Element in Microsoft.Search.Query Schema for Windows SharePoint Services Search

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The QueryText element contains the search query issued to the web service. Applies to the Search Query Web service. For more information, see Windows SharePoint Services Query Web Service.

<QueryText language=xml:lang type={STRING|MSSQLFT}>
searchQuery
</QueryText>

Attributes

Attribute

Description

type

Identifies the query type (see type Attribute below)

language

Identifies the language of the keyword search. Value type is xml:lang. If specified, this is interpreted by Search as the query locale. If not specified, the default value is the language of the site.

type Attribute

Value

Description

STRING

Indicates type of query is keyword query.

MSSQLFT

Indicates type of query is Microsoft SQL Full Text Syntax query.

Child Elements

None.

Parent Element

Context

Remarks

Applies to: QueryService.Query web method (Microsoft.Search.Response.Document), QueryService.QueryEx web method (System.Data.Dataset)

Optional: No

See Also

Concepts

Windows SharePoint Services Query Web Service

Microsoft.Search.Query Schema