That did the trick. However, now I am trying to apply the patch to a fresh copy of solr on another server. Whenever I do so, I get the following error from the patch command:
patching file src/java/org/apache/solr/request/StandardRequestHandler.java Hunk #1 succeeded at 23 with fuzz 2 (offset -1 lines). Hunk #2 FAILED at 31. Hunk #3 succeeded at 146 with fuzz 2 (offset 13 lines). 1 out of 3 hunks FAILED -- saving rejects to file src/java/org/apache/solr/request/StandardRequestHandler.java.rej (Stripping trailing CRs from patch.) patching file src/java/org/apache/solr/handler/MoreLikeThisHandler.java (Stripping trailing CRs from patch.) patching file src/java/org/apache/solr/util/MoreLikeThisParams.java (Stripping trailing CRs from patch.) patching file example/solr/conf/solrconfig.xml Hunk #1 FAILED at 385. 1 out of 1 hunk FAILED -- saving rejects to file example/solr/conf/solrconfig.xml.rej Any ideas on how to get passed this? Andrew ________________________________________ From: Brian Whitman [EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 11:14 AM To: solr-user Subject: Re: compile error with SOLR 69 MoreLikeThis patch Change it to DEFALT or change the spelling error in the Lucene version. On May 16, 2007, at 12:13 PM, Andrew Nagy wrote: > I downloaded and patched my solr source with the latest solr69 > patch and whenever I run ant I get an error: > > [javac] /office/src/apache-solr-nightly/src/java/org/apache/solr/ > handler/MoreLikeThisHandler.java:145: cannot find symbol > [javac] symbol : variable DEFAULT_MIN_DOC_FREQ > [javac] location: class org.apache.lucene.search.similar.MoreLikeThis > [javac] mlt.setMinDocFreq( params.getInt > (MoreLikeThisParams.MIN_DOC_FREQ, > MoreLikeThis.DEFAULT_MIN_DOC_FREQ)); > [javac] > ^ > > > Did I miss something, or maybe I have a non-compatible version of > SOLR? > > Thanks > Andrew -- http://variogr.am/ [EMAIL PROTECTED]