You are here: com.dtsearch.engine Package > Classes > SearchJob Class
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
Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.