Changes for GetAllDocumnetsByKey To GetAllEntriesByKey