Aqualogic Interaction API  
 

IPTSQueryRequest.restrictTo Method 

Restrict this query request to a subsection of the search index. Results must satisfy the specified IPTSQuery restriction, in addition to the original query passed to setQuery.

restriction is usually a container within one of the Plumtree applications. See the factory methods in IPTSPortalCollection, IPTSCollabCollection, and IPTSContentCollection).

However, any other IPTSQuery may also be used as the restriction in this call. The restriction 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 restrictTo(
   IPTSQuery restriction
);

See Also

IPTSQueryRequest Interface | com.plumtree.server.search Namespace