You are here: com.dtsearch.engine Package > Classes > SearchJob Class
dtSearch Engine API for Java
SearchJob Class

The SearchJob object performs searches with or without an index.


Package: com.dtsearch.engine 

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. 



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 

Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.