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>
</QueryPacket>
Attributes
Attribute | Description |
---|---|
revision |
Unsigned integer indicating the revision of the schema used in the request. Not used by Enterprise Search in Microsoft Office SharePoint Server 2007. |
xmlns |
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". |
Child Elements
Query Element in Microsoft.Search.Query Schema for Enterprise Search |
Parent Elements
None. |
Example
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'>
<Query>
<SupportedFormats>
<Format>urn:Microsoft.Search.Response.Document.Document</Format>
</SupportedFormats>
<Context>
<QueryText language='en-US' type='STRING'>SharePoint</QueryText>
</Context>
</Query>
</QueryPacket>
Remarks
Schema name: Microsoft.Search.Query
Applies to: Query web method (Microsoft.Search.Response.Document), QueryEx Web method (System.Data.Dataset)
Optional: No
See Also
Concepts
Microsoft.Search.Query Schema for Enterprise Search
Enterprise Search Query Web Service Overview