A basic implementation of a document search engine