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