Close
dtSearch Text Retrieval Engine Programmer's Reference
ISearchResults Interface

File: dten600.idl 

Module: COM Interface 

Syntax
IDL
interface ISearchResults : IDispatch;

Provides access to the results of a search

To create a SearchResults object containing the results of a search,

  1. Set up a SearchJob to perform the search.
  2. Set the ResultsInMemory property of the SearchJob to true.
  3. Set the MaxFilesToRetrieve property to the maximum size of the SearchResults set.
  4. Execute the SearchJob.
  5. After the search is complete, use the Results property of the SearchJob to get a copy of the search results.

Because SearchJob.Results returns a copy of the results, to access the Results property after a search, use a temporary variable, like this:

Dim r as SearchResults Set r = searchJob.Results
ISearchResults