DDataSourceBase Class
0 on success, or -1 on failure
Initialize the data source so the next getNextDoc call will return the first document