Close
dtSearch Engine API for Java
SearchJob.setResults Method

Deprecated -- use SearchResults.getResults() to obtain search results after a search.

Syntax
Java
public void setResults(SearchResults newResults);

setResults will attach a SearchResults object to this SearchJob. However, callers cannot assume that the results of the search will be stored in this SearchResults. Instead, the recommended way to use SearchJob is to execute the search and then call getResults() to obtain SearchResults.