3.1.4.5 QueryEx

This operation is used to run a search query and retrieve a list of links to crawled items that are relevant to the search query, together with associated information.

 <wsdl:operation name="QueryEx">
   <wsdl:input message="tns:QueryExSoapIn"/>
   <wsdl:output message="tns:QueryExSoapOut"/>
 </wsdl:operation>

The protocol client sends a QueryExSoapIn request message and the protocol server responds with a QueryExSoapOut response message, as follows:

The client formulates a search query that specifies which crawled items to retrieve and which properties to retrieve for each crawled item (see section 3.1.1.1).

On receipt, the protocol server interprets the search query and assembles a list of crawled items that are relevant to the search query. Then, it retrieves the properties that were specified in the search query for each result, and includes them in the response to the search query.

Alternatively, the request can fail. In that case the protocol server returns a response containing an error code as defined in section 2.2.5.5.