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 |
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 |
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.
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|