Aqualogic Interaction API  
 

IPTSearchFactory.createBestBetTargetQuery Method 

Construct an IPTSQuery that returns the best bet targets for a specified trigger string.

This is not the usual way to use Best Bets - usually, you call useBestBets on an IPTSModifiableQuery, such as the TextQuery you get from createTextQuery. Calling IPTSModifiableQuery.useBestBets guarantees that the best bet targets will be the top-ranked results.

The query returned by createBestBetTargetQuery is intended for a "sponsored links"-style list in which only best bet targets appear. If you AND or OR more than one one BestBetTargetQuery together, the order of results is unpredictable.
IPTSQuery createBestBetTargetQuery(
   string trigger
);

Parameters

trigger
the best bet trigger string desired.

See Also

IPTSearchFactory Interface | com.plumtree.server.search Namespace