3.1.4.2 GetQuerySuggestions

This operation is used to retrieve a list of query suggestions to match the search terms typed in the search box. There are two types of query suggestions: pre-query suggestions and post-query suggestions.

 <wsdl:operation name="GetQuerySuggestions">
     <wsdl:input message="tns:GetQuerySuggestionsSoapIn" />
     <wsdl:output message="tns:GetQuerySuggestionsSoapOut" />
 </wsdl:operation>

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

  • The protocol client formulates a search query for which query suggestions are requested.

  • On receipt, the protocol server interprets the search query and assembles a list of query suggestions.

  • On success, the protocol server returns a list of query suggestions to the client.

  • On error, the protocol server returns a SOAP fault.