Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchResults Class

Provides access to the results of a search.

File: dtsearch.h

Syntax
C++
class dtsSearchResults;

A handle managed by the dtSearch Engine represents the search results, and dtsSearchResults calls dtSearch Engine API functions to obtain information using the handle and, in the destructor, to destroy the object represented by the handle.

The following code sequence demonstrates the use of dtsSearchResults:

dtsSearchResults results; // Attach the dtsSearchResults object to the dtsSearchJob dtsSearchJob searchJob; searchJob.resultsHandle = results.getHandle(); // Execute the search ... set up rest of searchJob ... short errFlag; dtssDoSearchJob(searchJob, errFlag);
dtsSearchResults