|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Superinterface of IPortalSearchRequest
and possibly other search requests, such as Collab.
Method Summary | |
ISearchResponse |
execute()
Executes the Search Request. |
void |
setQuery(IFilterClause filterClause)
Set the query associated with this request. |
void |
setQuery(java.lang.String queryString)
Set the query associated with this request. |
void |
setQuery(java.lang.String queryString,
IFilterClause filterClause)
Set the query associated with this request. |
Method Detail |
public void setQuery(java.lang.String queryString)
setQuery()
.
queryString
- String
to searchpublic void setQuery(IFilterClause filterClause)
setQuery()
.
filterClause
- Filter Clause created from ISearchFactory
java.lang.IllegalStateException
- if used in conjunction with particular attributes in subinterfacespublic void setQuery(java.lang.String queryString, IFilterClause filterClause)
ISearchResponse
will match both the query string and the 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 that at least three characters must be present between wildcard characters: *ad* is invalid.
Note that and, or, not, and near are considered operators in the search string, rather than terms.
Note that 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().
queryString
- String
to searchfilterClause
- Filter Clause created from ISearchFactory
java.lang.IllegalStateException
- if used in conjunction with particular attributes in subinterfacespublic ISearchResponse execute() throws SearchException, java.rmi.RemoteException
ISearchResponse
SearchException
- if a there is an error connecting to the search server, or an error occurred when executing the search on the search server
java.rmi.RemoteException
- if there is a communication problem during the execution of the remote method call
java.lang.IllegalStateException
- if the query has not been set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2007 BEA Systems, Inc. All Rights Reserved.