QueryPacket Element in Microsoft.Search.Query Schema for Enterprise Search

Contains all the elements for the search query request. Applies to the Enterprise Search Query Web service. For more information, see Enterprise Search Query Web Service Overview.

<QueryPacket revision=integer xmlns=string>

Attribute Description


Unsigned integer indicating the revision of the schema used in the request. Not used by Enterprise Search in Microsoft Office SharePoint Server 2007.


Optional String attribute. Specifies the URL to the XML schema that is used to validate the configuration file. Value for Enterprise Search is "urn:Microsoft.Search.Query".

Following is an example of a request for the Query Web service, using the Microsoft.Search.Query Schema for Enterprise Search.

<QueryPacket xmlns='urn:Microsoft.Search.Query'>
      <QueryText language='en-US' type='STRING'>SharePoint</QueryText>

Schema name: Microsoft.Search.Query

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

Optional: No