- When getting started, all you need to do is extract the Solr distribution archive to a directory of your choosing. When you’re ready to setup Solr for a production environment, please refer to the instructions provided on the Taking Solr to Production page.
- Step 4 - Install Apache Solr by Unzipping the File. Next, installing Apache Solr is accomplished simply by unzipping the compressed file downloaded earlier. Personally, before that I generally try to understand what is inside by counting the number of files and viewing the structure. Inspect the download.
- Apache Solr Tutorial
- Apache Solr Useful Resources
Install Solr search in a test environment on a local or cloud hosting platform using five easy steps to an Apache Lucene Solr installation. Find the code her. System administrators need to install and maintain a separate instance of Solr during the upgrade of the NetX platform to version 9. This guide provides instructions on the steps necessary to install the new version of Solr and remove the legacy Solr files from an existing NetX installation. Installing Solr 7.
- Selected Reading
In this chapter, we will discuss how to set up Solr in Windows environment. To install Solr on your Windows system, you need to follow the steps given below −
- Visit the homepage of Apache Solr and click the download button.
- Select one of the mirrors to get an index of Apache Solr. From there download the file named Solr-6.2.0.zip.
- Move the file from the downloads folder to the required directory and unzip it.
Suppose you downloaded the Solr fie and extracted it in onto the C drive. In such case, you can start Solr as shown in the following screenshot.
To verify the installation, use the following URL in your browser.
http://localhost:8983/
If the installation process is successful, then you will get to see the dashboard of the Apache Solr user interface as shown below.
Setting Java Environment
Installing Apache Solr On Windows
We can also communicate with Apache Solr using Java libraries; but before accessing Solr using Java API, you need to set the classpath for those libraries.
How To Install Apache Solr On Windows 7 Bootable
Setting the Classpath
How To Install Apache Solr On Windows 7 Virtualbox
Set the classpath to Solr libraries in the .bashrc file. Open .bashrc in any of the editors as shown below.
Set classpath for Solr libraries (lib folder in HBase) as shown below.
How To Install Apache Solr On Windows 10
This is to prevent the “class not found” exception while accessing the HBase using Java API.