You are here: C++ Support Classes > dtSearch Namespace > Classes > DSearchJob Class > DSearchJob::CopyOutputSearchFilter Method
DSearchJob::CopyOutputSearchFilter Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DSearchJob::CopyOutputSearchFilter Method

Copy the output search filter and return it.

Syntax
C++
dtsSearchFilter * CopyOutputSearchFilter();

A copy of the search filter (use DetachOutputSearchFilter to detach the original search filter, avoiding the need to make a copy).

If SetWantResultsAsFilter(true) was called before the search, the search results will include a search filter (see dtsSearchFilter) with all of the documents retrieved in the search. 

Note: The output search filter is separate from the optional search filter that you can provide to limit the results of the search, through SetSearchFilter().