added some documentation for deleteDoc and deleteDocByQuery