3.1.5.2 Microsoft.Office.Server.Search.REST.QueryResult

TypeId: {5DA4B313-CA4A-4BC7-B9DE-98EA5F4E727B}

ShortName: Microsoft.Office.Server.Search.REST.QueryResult

The QueryResult type is a grouping of result tables, where each contained result table is a ResultTable as specified in [MS-QSSWS] section 3.1.4.1.3.6.

All result tables contained in the same QueryResult MUST share the same QueryId (section 3.1.5.2.1.1.2).

A QueryResult structure accessed by the PrimaryQueryResult property (section 3.1.5.6.1.1.2) of a SearchResult structure (section 3.1.5.6) MUST NOT be associated with a query rule, and MUST have the QueryRuleId (section 3.1.5.2.1.1.3) populated with the value {00000000-0000-0000-0000-000000000000}.

Each QueryResult structure contained in the SecondaryQueryResults (section 3.1.5.6.1.1.3) of the SearchResult (section 3.1.5.6) structure MUST be associated with an individual query rule, and MUST have the QueryRuleId (section 3.1.5.2.1.1.3) populated with a value other than {00000000-0000-0000-0000-000000000000}.

A valid QueryResult MUST have one or more result tables accessed through one or more of the following properties:

  • CustomResults

  • RefinementResults

  • RelevantResults

  • SpecialTermResults

CustomResults is a CSOM Array that contains zero or more CustomResult instances. A CustomResult instance is a ResultTable with ResultType of any kind (except RefinementResults, RelevantResults, and SpecialTermResults), as specified in [MS-QSSWS] section 2.2.5.5.

RefinementResult is a ResultTable with ResultType RefinementResults as specified in [MS-QSSWS] section 2.2.5.5.

RelevantResults is a ResultTable with ResultType RelevantResults as specified in [MS-QSSWS] section 2.2.5.5.

SpecialTermResults is a ResultTable with ResultType SpecialTermResults as specified in [MS-QSSWS] section 2.2.5.5.