Aqualogic Interaction API  
 

IPTSQueryRequest.restrictToAnyOf Method 

Restrict this query request to specified subsections of the search index. Results must satisfy at least one of the restrictions specified here, as well as the original query passed to setQuery.

restrictions are usually containers within the Plumtree applications. See the factory methods in IPTSPortalCollection, IPTSCollabCollection, and IPTSContentCollection).

However, any other IPTSQuery may also be used as a restriction in this call. The restrictions passed to this method are ORed together, and then the composite is ANDed with the query passed to setQuery when the query request is executed. Alternatively, advanced users may ignore this method, and simply include these restrictions as part of an IPTSQuery tree that is passed to setQuery.

Calls to this method override any previous call to restrictTo.
void restrictToAnyOf(
   IPTSQuery[] restrictions
);

See Also

IPTSQueryRequest Interface | com.plumtree.server.search Namespace