Elasticsearch is a highly scalable open source Java search engine that stores data in a structure optimized for language based searches.
Elasticsearch can be used to search all kinds of documents. Just download and run. Here is a short intro on how to run it. If you want to use it from Smalltalk then have a look at this project.