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

Copy the output search filter and return it.

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

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