Implemented search engine for most valuable document based on users query