On 8/22/2024 17:40, Shawn Heisey wrote:
On 8/22/2024 11:38, Raju Vaddeh wrote:
Below are the steps we have performed on the local solr environment for the patch install.

*1. Clone the solr repo*

git clone GitHub - apache/solr: Apache Solr open-source search software <https://github.com/apache/solr.git>

There's your problem right there.  You are cloning the Solr repo, which does not have Solr 8.x.  It only has code for Solr 9.0 and later.

But you will need a couple of things before you can compile 8.x. You will need ant, perl, and a Java JDK. For Solr 8.x, I would use Java 8 or Java 11. I do not know whether it will work properly with Java 17 or later.

https://ant.apache.org/bindownload.cgi
https://strawberryperl.com/

These two programs and the Java JDK will need to be on the path.

Then you will need these commands, starting from the root of the checkout:

ant ivy-bootstrap
cd solr
ant clean package

The last command will create the .tar.gz and .zip archives which are very similar to what you get when you download Solr.

It is generally easier to compile Solr on an OS like Linux than on Windows.

Thanks,
Shawn

Reply via email to