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

Request a search filter containing the results of this search (see dtsSearchFilter)

void SetWantResultsAsFilter(int v);
int v
If true, a search filter will be created based on the results of the search.

Each document retrieved in the search will be selected in the filter. After the search, call DetachOutputSearchFilter to obtain the filter. The DSearchJob destructor will delete any search filter that is not detached by a call to DetachOutputSearchFilter

See dtsSearchFilter for information on search filters.

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