Search flag to delay reading of document information records after a search.
The dtsSearchDelayDocInfo search flag optimizes a search by waiting until document records are requested through a search results object before reading them from the index.
For example, suppose you execute a search with a MaxFilesToRetrieve value of 100 (so only the best-matching 100 documents will be returned), and the search retrieves 2000 documents. Using the dtsSearchDelayDocInfo flag tells dtSearch to ignore the document information for the 1900 documents that did not make it into the top 100 and only to read the information for the best-matching 100 files.
Using the dtsSearchDelayDocInfo flag can improve the performance of long searches by a factor of 5 to 10 or more.
Search callback notifications
During a search, your program can receive callback notifications as each file is retrieved. If the dtsSearchDelayDocInfo flag is set, you can still receive these notifications, but the filenames will be blank.