Aqualogic Interaction API  
 

IPTIndexer.waitForAllIndexRequestsToComplete Method 

Wait until all the index requests initiated by the client have been processed by the search server. A client should invoke this method only if it must ensure that everything that it submitted over a period of time is searchable. This is not the way to simulate "synchronous" indexing. Use CommitAll(int timeout) instead. Us this method sparignly since it can potentialy create many search cluster status requests.

string waitForAllIndexRequestsToComplete(
   int timeout
);

Parameters

timeout
- amout of time to wait for everything to be processed

Return Value

current known fully processed(i.e searchable) transaction id

See Also

IPTIndexer Interface | com.plumtree.server Namespace