Over a million developers have joined DZone.
Silver Partner

Starting Solr for ColdFusion on a Mac

· Java Zone
Here is a straightforward way to start Solr when running ColdFusion 9 on a Mac. If it is not running in the ColdFusion Administrator under Data & Services > ColdFusion Collections the following message will appear:

Unable to retrieve collections from any of the Search Services. Please verify that atleast one of ColdFusion Search Services is installed and running.


To get it running run the following two lines in Terminal:

cd /Applications/JRun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/solr
./cfsolr start

Thats for multi-instance installs for ColdFusion 9 standard install it will be:

cd /Applications/ColdFusion9/solr
./cfsolr start

Within seconds Solr will be up and running and collections will show on the page above.

(As a quick note don't delete core0 collection as its needed to get everything up and running.)

Topics:

Published at DZone with permission of Sam Farmer , DZone MVB .

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}