For queries containing a simple list of search terms, set the type attribute for the QueryText Element in Microsoft.Search.Query Schema for Enterprise Search element of the Microsoft.Search.Query schema to 'STRING'. For SQL syntax queries, set the type attribute to 'MSSQLFT'.
If anonymous access is disabled for the Query web service's Microsoft Office SharePoint Server 2007 web application you must specify the credentials for the web service request using the Credentials property. The search results are trimmed based on the credentials of the current context of the request.
The DataSet returned by the QueryEx method can contain multiple result sets. Each result set will be a DataTable within the DataSet. The DataTable name is based on the types of results included in the result set for that DataTable. These are:
-
Relevant results
-
Special-term results
-
High-confidence results
The default sort order is relevance rank.
Using elements from the Microsoft.Search.Query schema, you can specify the following for the result set returned by the Query web method: