Simple document indexing and searching library

This isn’t necessarily scaladoc specific, though in my case it is what i’m looking for (Scala 2.11 currently). However, I have multiple projects I’d like to have indexed. I may also index the code. I’m thinking of using a python library/tool called whoosh. Does anyone know of something similar in Java/Scala land?