From my Enterprise Lucene/Solr Book: solr-ext project