Have you heard of Yokozuna? It's an awesome new feature of Riak. It bakes in a Solr instance to run with each Riak node in your cluster. Software blogger Drew Kerrigan has created a tutorial to build a robust search engine on the Sinatra micro framework using this feature.
The GitHub repo for this project can be found here: riak-search-demo.