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

Detach the output search filter and return it.

Syntax
C++
dtsSearchFilter * DetachOutputSearchFilter();

The search filter generated from this search.

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().