2.2.5.5 StatusType

Target namespace: urn:Microsoft.Search.Response

This type contains the result code of a search query or other types of SOAP requests that the Search Protocol supports.

 <s:simpleType name="StatusType">
   <s:restriction base="s:string">
     <s:enumeration value="SUCCESS"/>
     <s:enumeration value="ERROR_ALL_NOISE"/>
     <s:enumeration value="ERROR_NO_RESPONSE"/>
     <s:enumeration value="ERROR_BAD_PROPERTY"/>
     <s:enumeration value="ERROR_BAD_QUERY"/>
     <s:enumeration value="ERROR_BAD_SCOPE"/>
     <s:enumeration value="ERROR_BAD_REQUEST"/>
     <s:enumeration value="ERROR_NO_RESULTS_FOUND"/>
     <s:enumeration value="ERROR_NO_QUERY"/>
     <s:enumeration value="ERROR_NO_AUTHORIZATION"/>
     <s:enumeration value="ERROR_SERVER"/>
   </s:restriction>
 </s:simpleType>

The following table defines the allowable values for StatusType:

Value

Meaning

SUCCESS

The protocol server finished the requested operation.

ERROR_ALL_NOISE

All tokens in query text were noise words.

ERROR_NO_RESPONSE

The protocol server failed to contact the Office SharePoint Server Search service.

ERROR_BAD_PROPERTY

A managed property that was referenced in the query does not exist.

ERROR_BAD_QUERY

The search query is malformed.

ERROR_BAD_SCOPE

The selected search scope is invalid.

ERROR_BAD_REQUEST

The SOAP Message was malformed.

ERROR_NO_RESULTS_FOUND

The request to the Office SharePoint Server Search service finished successfully, but no items matched the specified search query.

ERROR_NO_QUERY

No query text was specified.

ERROR_NO_AUTHORIZATION

The Office SharePoint Server Search service does not have permission to perform a required operation.

ERROR_SERVER

A generic error occurred.