2.2.5.5 ResultType

msdn link

Namespace: http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Query

The ResultType simple type specifies an enumeration of the types of search results to return for a search query. Any element of this type MUST contain one or more of the enumeration values specified in this section. This enumeration is also used to annotate the ResultTable (section 3.1.4.1.3.6) data type to indicate the type of search results contained in it.

 <xs:simpleType name="ResultType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:list>
     <xs:simpleType>
       <xs:restriction base="xs:string">
         <xs:enumeration value="None"/>
         <xs:enumeration value="RelevantResults"/>
         <xs:enumeration value="SpecialTermResults"/>
         <xs:enumeration value="HighConfidenceResults"/>
         <xs:enumeration value="DefinitionResults"/>
         <xs:enumeration value="VisualBestBetsResults"/>
         <xs:enumeration value="RefinementResults"/>
         <xs:enumeration value="Extended"/>
       </xs:restriction>
     </xs:simpleType>
   </xs:list>
 </xs:simpleType>

The following table specifies the allowable values for the ResultType simple type.

Value

Meaning

None

No result type is specified.

RelevantResults

Specifies that the protocol server MUST return the result set that contains the actual query results from the crawled items that apply to the search query. The protocol server MUST annotate the corresponding result set in ResultTable.ResultType (as specified in section 3.1.4.1.3.6) with value RelevantResults.

SpecialTermResults

Specifies that the protocol server MUST return the result set that contains the best bets that apply to the search query. The protocol server MUST annotate the corresponding result set in ResultTable.ResultType (as specified in section 3.1.4.1.3.6) with value SpecialTermResults. If QueryProperties.ResultsProvider (as specified in section 2.2.4.11) is SearchServer.FASTSearch, this value MUST be ignored by the protocol server.

HighConfidenceResults

Specifies that the protocol server MUST return the result set that contains the high confidence results that apply to the search query. The protocol server MUST annotate the corresponding result set in ResultTable.ResultType (as specified in section 3.1.4.1.3.6) with value HighConfidenceResults. If QueryProperties.ResultsProvider (as specified in section 2.2.4.11) is SearchServer.FASTSearch, this value MUST be ignored by the protocol server.

DefinitionResults

Specifies that the protocol server MUST return the extracted definitions that apply to the search query. The protocol server MUST annotate the corresponding result set in ResultTable.ResultType (as specified in section 3.1.4.1.3.6) with value DefinitionResults. If QueryProperties.ResultsProvider (as specified in section 2.2.4.11) is SearchServer.FASTSearch, this value MUST be ignored by the protocol server.

VisualBestBetsResults

Specifies that the protocol server MUST return the result set that contains the visual best bet results that apply to the search query. The protocol server MUST annotate the corresponding result set in ResultTable.ResultType (as specified in section 3.1.4.1.3.6) with value VisualBestBetsResults. If QueryProperties.ResultsProvider (as specified in section 2.2.4.11) is SearchServer.SharepointSearch, this value MUST be ignored by the protocol server.

RefinementResults

Specifies that the protocol server MUST return the result set that contains the refinement results that apply to the search query. The protocol server MUST annotate the corresponding result set in ResultTable.ResultType (as specified in section 3.1.4.1.3.6) with value RefinementResults. If QueryProperties.ResultsProvider (as specified in section 2.2.4.11) is SearchServer.SharepointSearch, this value MUST be ignored by the protocol server.

Extended

Specifies that a protocol server MUST annotate the result set with the Extended value in ResultTable.ResultType (as specified in section 3.1.4.1.3.6), if the result set it contains does not correspond to any of the above ResultType values.