Sends a new natural language query to the search engine. The more descriptive the query, the more accurate the result.
public int doQuery(java.lang.String query, java.lang.String database, java.lang.String dates, int maxDocs, int relevance) throws java.rmi.RemoteException, com.sybase.ep.search.PortalSearchServices.SearchException
query – natural language query
database – list of search engine databases, separated by commas
dates – date range in the form dd/mm/yyyy,dd/mm/yyyy
maxDocs – maximum number of documents to return
relevance – relevance of the document (0 – 100)
By default, values are calculated by absolute value
in the DRE; that is, a number that is not limited to 100. The norm
is to have the results returned in a percentage result of 0 – 100.
However, depending on how a query is sent to the DRE, you may get
the absolute value instead; specifically, a value greater than 100.
Number of results found.