Links
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchResults::getTotalFiles Method
dtsSearchResults Class | dtsSearchResults Class | Send Feedback

Returns the number of files retrieved in the search, which may be more than the number actually stored in search results

long getTotalFiles();
Remarks

If search results were generated by a search, TotalFiles will contain the number of documents retrieved in the search, including documents that were not retained in the SearchResults object due to the MaxFilesToRetreive limit. 

If search results were generated in any other way, such as through the unionWith or intersectionOf operations, then TotalFiles will be the number of documents actually stored in search results.

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