Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IPortalSearchRequest.SetQuery Method (String, IFilterClause)

Sets the query associated with this request.

void SetQuery(
   string queryString,
   IFilterClause filterClause
);

Parameters

queryString
String to search.
filterClause
The IFilterClause created from ISearchFactory.

Remarks

The returned ISearchResponse will match both the query string and filter clause. The search string is a case-insensitive collection of terms and operators which documents must match in order to be returned from search. For example, a search for 'dog cat' would return documents containing 'dog', 'cat', or both. If double quotes are present, as in '"dog cat"', the phrase 'dog cat' must be present. Note: At least three characters must be present between wildcard characters: *ad* is invalid. Note: And, or, not, and near are considered operators in the search string, rather than terms. Note: When they appear in quoted strings, and, or, not, and near are treated as search terms. See search syntax for more examples. Note: This overrides any query previously set by a call to any version of SetQuery().

Exceptions

Exception Type Condition
InvalidOperationException Used in conjunction with BestBets.

See Also

IPortalSearchRequest Interface | Plumtree.Remote.PRC.Search Namespace | IPortalSearchRequest.SetQuery Overload List