Install Apache Solr on windows

download the latest version of the zip file for windows from http://www.eu.apache.org/dist/lucene/solr/
unzip it and go to bin folder in this directory
run following command to start running solr in localhost
solr.cmd start
if above command gives you error like
findstr is not recognized as an internal or external command
then go to My Computer –> System Properties –> Advanced System Settings –> Environment Variables –> System Variables
append following path to PATH variable C:\WINDOWS\system32
restart CMD
go to solr bin directory and run following command
solr.cmd start
it will give you success message on your screen
open browser and go to localhost:8983/solr
it will open up the solr browser for you

next thing is to add cores/collections to solr
run following command to do the same
solr.cmd create -c firstcore
it will create collection named firstcore
same will be reflected in your solr browser window

Published by milindjagre

I founded my blog www.milindjagre.co four years ago and am currently working as a Data Scientist Analyst at the Ford Motor Company. I graduated from the University of Connecticut pursuing Master of Science in Business Analytics and Project Management. I am working hard and learning a lot of new things in the field of Data Science. I am a strong believer of constant and directional efforts keeping the teamwork at the highest priority. Please reach out to me at milindjagre@gmail.com for further information. Cheers!

2 thoughts on “Install Apache Solr on windows

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: