Close
dtSearch Engine API for Java
SearchJob Class

The SearchJob object performs searches with or without an index.

File: SearchJob.java 

Package: com.dtsearch.engine 

Syntax
Java
public class SearchJob;

To perform a search, make a SearchJob, use the properties to describe the task you want the engine to perform, and call the execute() method. After the search, use the getResults() method to obtain a SearchResults object with the results of the search. 

 

Errors

After executing a SearchJob, call getErrors() to check for any errors that may have occurred during the job. 

For search request syntax, see: 

Search Requests in Overviews 

For information on optimizing search speed, see: 

Optimizing Search Performance 

com.dtsearch.engine.SearchJob