Over a million developers have joined DZone.

Setup Solr on Windows Running Jetty as a Windows Service

DZone's Guide to

Setup Solr on Windows Running Jetty as a Windows Service

Free Resource
Bill Beckelman posted a nice, simple, start-from-scratch tutorial for setting up Solr on Windows.  Using Jetty as the container, he says that the best way to get it running as a Windows service is through NSSM:

"Now that Solr is up and running, we can work on getting Jetty to run as a Windows service. Since Jetty comes bundled with Solr, all we need is a way to run it as a service. There are several options to do this, but the one that I have found works the best and is the most compatible across windows environments is NSSM – the Non Sucking Service."

Nice to see a little humor in a useful Solr tutorial.  Beckelman adds the disclaimer at the beginning of the tutorial:

"*This works on my machine. In no way do I know what I am doing."

To read the full post, follow the Reference Box link.

Published at DZone with permission of Mitch Pronschinske. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}