You are here: COM Interface > Interfaces > ISearchJob Interface > ISearchJob::ExecuteInThread Method
dtSearch Text Retrieval Engine Programmer's Reference
ISearchJob::ExecuteInThread Method
HRESULT ExecuteInThread();

ExecuteInThread starts the search in a separate thread and returns immediately.

To determine when the thread is done, check the IsThreadDone property. To abort the thread before it finishes, call the AbortThread method. 

When you execute a SearchJob with ExecuteInThread, the StatusHandler will not be called with status notifications.

Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.