Scala search engine