See Also
dtSearch Text Retrieval Engine -- .NET API (.NET 2.0-4.0) 7.70
HttpDataSource::GetNextDoc Method

Get the next document from the data source.

C#
public bool GetNextDoc();
Visual Basic
Public Function GetNextDoc() As bool
Returns

true if a document was obtained, or false if there are no more documents to process.

Remarks

The dtSearch Engine will call GetNextDoc() during the index update to obtain pages to index. Each time GetNextDoc() is called, the Spider will either return the next page to index, or the Spider will return false indicating that there are no more pages to index.  

All of this happens automatically when you attach the HttpDataSource to the IndexJob and execute it, so there is no need for your code to interact with GetNextDoc().  

 

See Also
You are here: dtSearch::Spider Namespace > HttpDataSource Class > HttpDataSource Methods > GetNextDoc Method
Copyright (c) 1998-2012 dtSearch Corp. All rights reserved.