As you can see both versions don't appear to be working. I tried building each but neither would compile. Which version/tag should be used when applying this patch?
In general, a patch is written against the latest trunk branch as of then. For the SOLR-1316.patch, it was posted 2010-5-31, you should check out the dated source from trunk: $ svn co -r {2010-05-31} http://svn.apache.org/repos/asf/lucene/dev/trunk Koji -- http://www.rondhuit.com/en/