add ability to list documentIds