3.1.4.19.2.1 GetBestBetsCount

The input data for the GetBestBetsCount WSDL operation.

 <xs:element name="GetBestBetsCount">
   <xs:complexType>
     <xs:sequence>
       <xs:element minOccurs="0" name="filter" xmlns:q49="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration" type="q49:BestBetFilter"/>
       <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
       <xs:element minOccurs="0" name="consumerGpId" nillable="true" type="xs:string"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>

filter: The best bet filter to apply when computing the count of best bets. MUST be a BestBetFilter data type as specified in section 2.2.5.1.

value: The supplemental input element for filter element. Its meaning depends on filter element. Its length MUST be less than or equal to 2,048.

  • If filter is BestBetFilter.BestBetTitle, the protocol server MUST count only best bets whose title is LIKE value where LIKE operator is as specified in [MSDN-TSQL-Ref].

  • If filter is BestBetFilter.BestBetUrl, the protocol server MUST count only best bets whose URL is LIKE value where LIKE operator is as specified in [MSDN-TSQL-Ref].

  • If filter is BestBetFilter.Both, the protocol server MUST count only best bets whose either title or URL is LIKE value where LIKE operator is as specified in [MSDN-TSQL-Ref].

  • If filter is BestBetFilter.None or the value is null, the protocol server MUST NOT apply filter.

consumerGpId:  The GUID that identifies the keyword consumer. It MUST NOT be null and its length MUST be less than or equal to 50. The syntax is specified in section 2.2.5.4.