DDataSourceBase Class
0 if a document was returned, or -1 on failure
Get the next document in the data source