Does anybody know how to start solr on macOS, I th...
# cfml-general
j
Does anybody know how to start solr on macOS, I thought that it ran out of the box, but I get an error saying that solr is not running. I tried this create.cfm
Copy code
<html>                                                                                                           <head>
 <title>Creating Solr Collection</title>
</head>
<body>
<!--- feedback --->
Creating collection ...<br>
<cfflush>

<!--- Create the new verity collection --->
<cfcollection action="create"
              collection="finance"
           path="/Applications/ColdFusion2023/cfusion/jetty/multicore">

<!--- feedback --->
Done!
<cfflush>

</body>
</html>
I get this error
s
Maybe ask in #adobe since that's where the Adobe team hang out and this is very Adobe-specific.
j
Thanks so much for the idea @seancorfield
I figured it out, run the command solr start -p 8995, now to get learning how to use Solr!
👍🏻 1
a
If you are just starting out on your Solr journey, then you may want to take a look at ElasticSearch which is standalone so you don't get tied into the Adobe release cycle. You can also run Solr standalone. Being locked into Adobe lifecycles is painful (talking from experience)
1
d
Or look at OpenSearch, which is a open source fork of ElasticSearch managed by Amazon. The OpenSearch fork was created after ElasticSearch changed their licensing. We moved from ElasticSearch to OpenSearch after they changed their licensing. I'd definitely agree that using something like ElasticSearch or OpenSearch is a better route to go, because it doesn't limit you to either the ACF release cycle or how you use the product. We've found both ElasticSearch and OpenSearch much more flexible. It's a little more work upfront (writing provisioning scripts, figuring out how to secure things for your environment, writing any CFC wrappers you need), but it's been worth it to us.
1