How to Install Apache Solr on Windows 11

Apache Solr is an open-source search platform that is widely used for implementing search functionality in applications. In this tutorial, we will walk you through the steps for installing Apache Solr on Windows 11.

Prerequisites

To follow along with this tutorial, you will need the following:

Step 1: Install Java Development Kit (JDK)

Apache Solr requires Java Development Kit (JDK) 8 or higher to be installed on your machine. If you do not have JDK installed, go to the Oracle website and download the latest version of JDK.

Once the download is complete, run the installer and follow the instructions to install it on your machine.

Step 2: Extract Apache Solr package

Navigate to the directory where you have downloaded the Apache Solr package. Right-click on the package and choose "Extract All" option.

Choose the destination directory of the extracted files and click on "Extract" button.

Step 3: Start Apache Solr Server

Open the command prompt by pressing "Windows key + R" and typing "cmd" in the Run dialog box. Navigate to the directory where Apache Solr is extracted using the 'cd' command.

Once you are in the directory, run the following command to start the Apache Solr server:

bin/solr start

You will see some output on the console indicating that Apache Solr is starting, and you can access Apache Solr from a web browser using the URL http://localhost:8983/solr.

Step 4: Test Apache Solr

Open your web browser and go to the URL http://localhost:8983/solr. If all is well, you should see the Apache Solr interface.

Apache Solr Interface

Conclusion

You have successfully installed Apache Solr on Windows 11. You can now use Apache Solr for indexing and searching data in your applications.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!