An implementation of a search engine in Java