I am a new user of Solr and I want to use this classification module ? but I don't know how to apply the patch mentioned in the previous link.
I am working with Solr 5.2.1 on Ubuntu.
I found this page that describe how to work with patches but I don't understand where to find "your Solr trunk checkout dir" location ? Is it the solr installation dir or another one ?
Can someone tell me the detailed manner to do that ?
Asked
Active
Viewed 473 times
1

EricLavault
- 12,130
- 3
- 23
- 45

tonnebrre
- 11
- 2
-
Can you explain a bit more? – Dieter Meemken May 11 '16 at 15:12
-
thanks for reading my post. i want to apply [this](https://issues.apache.org/jira/browse/SOLR-7739) patch to my solr installation but i don't know why ? i wand a detailled tutorial or guide if exists. – tonnebrre May 16 '16 at 09:45
1 Answers
0
This should be executed inside the Solr rep:
git clone git@github.com:apache/lucene-solr
cd lucene-solr
wget PATCH_URL
patch -p1 -i name_of_the_patch --dry-run
After that you will have Solr with patch in lucene-solr
folder. But you also should install this patched version to use.

Stepan Zakharov
- 420
- 6
- 11
-
There is no need to apply the patch any longer; [the code is now part of Solr](https://issues.apache.org/jira/browse/SOLR-7739) from 6.1. – MatsLindh Aug 15 '18 at 08:10
-
@MatsLindh It's right for this patch. But for other patches in generic case it works. – Stepan Zakharov Aug 15 '18 at 08:58