OK, I've mostly figured it out. Patching leaves me with one rejection:

apache-solr-1.2.0$ patch -p0 <SOLR-69.patch
(Stripping trailing CRs from patch.)
patching file src/java/org/apache/solr/request/StandardRequestHandler.java
Hunk #2 FAILED at 75.
Hunk #3 succeeded at 150 (offset 10 lines).
Hunk #4 succeeded at 207 with fuzz 2 (offset 13 lines).

the rejected code appears to be non-vital, so I've just left it out. Since Solr 1.2 is based on Lucene 2.1, I've used the lucene-query.2.1.1-dev.jar to compile (after fixing the DEFALT/DEFAULT typo), and MLT seems to work. Is that the correct procedure? If so, I'll update the wiki accordingly.

Gereon

Gereon Steffens wrote:
Hi,

I've been trying to get MoreLikeThis running in Solr 1.2, so far without success. Since there is no mention of any special installation steps in the Wiki, I had assumed that it was built into 1.2, but that does not seem to be the case. So now I've downloaded the patches from SOLR-69, and am unable to apply them against the 1.2 source tree. (patch complains about missing and non-matching files)

What I am missing, or what am I doing wrong? Any help would be greaty appreciated.

Gereon

Reply via email to