Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsSearchFilter::selectItemsBySearch Method
dtsSearchFilter Class | dtsSearchFilter Class | Send Feedback

Set the selection state of a set of document ids based on the results of a search.

void selectItemsBySearch(int iIndex, dtsSearchJob& searchJob, int fSelected);
Parameters
Parameters 
Description 
int iIndex 
The index containing these documents (identifier returned by addIndex
dtsSearchJob& searchJob 
The search to execute 
int fSelected 
Indicates whether the listed documents should be selected or not 
Description

All documents retrieved by the search set up by searchJob will have their selection state changed to the state indicated by fSelected. 

*All* documents retrieved in the search are selected, regardless of the maxFilesToRetrieve value in the dtsSearchJob.

Class
Links
You are here: C++ API > Classes > dtsSearchFilter Class > dtsSearchFilter::selectItemsBySearch Method
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.