Aqualogic Interaction API  
 

IPTSModifiableQuery.useBestBets Method 

Return best bet targets for the provided trigger string as the first results for this query.

Note that the best bet target results do not need to match the query to be returned. This means you must be careful to call useBestBets on the correct IPTSQuery in a query tree. For example, suppose your complete tree is ((TextQuery for dog) AND (in folder 27)). In this case, "TextQuery for dog", "folder 27", and the top-level BooleanQuery (AND) are all separate IPTSQuery objects. If you call useBestBets on the TextQuery, the folder restriction will be applied to the best bet targets as well as the other results, so you will only get targets in folder 27. If you call useBestBets on the top-level BooleanQuery instead, you will see best bet targets regardless of the folder they are located in.
void useBestBets(
   string trigger
);

Parameters

trigger
the best bet trigger string for this query, or null to turn off use of best bets for this query.

See Also

IPTSModifiableQuery Interface | com.plumtree.server.search Namespace