A typical search engine written in Java8 and Spark