Currently, full documents are always retrieved from the database. If ReturnFullDocuments is false, then the IDs are extracted and the rest of the document(s) are discarded. We should really just do a query that returns only document IDs from the underlying database in the first place.
Currently, full documents are always retrieved from the database. If ReturnFullDocuments is false, then the IDs are extracted and the rest of the document(s) are discarded. We should really just do a query that returns only document IDs from the underlying database in the first place.