Partilhar via


QueryText Element in Microsoft.Search.Query Schema

Applies to: SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements
Element Information

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

Attributes

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.

Child Elements

None.

Parent Elements

Context Element in Microsoft.Search.Query Schema

Element Information

Schema name: Microsoft.Search.Query

Applies to: QueryService.Query method (Microsoft.Search.Response.Document), QueryService.QueryEx method (DataSet Class)

Optional: Yes

See Also

Reference

QueryService

Concepts

Using the Query Web Service

Walkthrough: Querying SharePoint Search From a Client Application

Keyword Query Syntax Reference

FAST Query Language (FQL) Syntax Reference

SharePoint Search SQL Syntax Reference