for teaching document retrieval project