You are here: C++ API > Classes > dtsSearchFilter Class > dtsSearchFilter::getExpiredState Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchFilter::getExpiredState Method
Syntax
C++
bool getExpiredState(bool * pObsolete, bool * pIncomplete);

Retrieves information about whether a search filter is out of date. 

If the index was compressed (without the dtsIndexKeepExistingDocIds flag) or created since the search was done, the search filter is obsolete because the doc ids in the search filter will not correspond to the doc ids in the index. 

If the index was updated since the search filter was created, it may be incomplete.