Hi Andy,
I'm working towards a similar goal: Getting SimpleSearch to use Solr (my goal is to be able to search through the contents of PDF files). You can see my thread here: https://forums.modx.com/thread/100344/parse-pdf-content-for-search-results#dis-post-542410
Unfortunately, I can't help you... But I'm hoping we can band together and figure this out together (with help from others, hopefully).
Honestly, I couldn't figure out the PECL step too so I just skipped it. I got my PDFs added to the Solr core, but I can't get the SimpleSearchIndexAll to function. Could be that I'm needing the PECL step?
Hopefully someone can help us!
Ok thanks - sounds like you are further than I am!! I don't even know how to install the search in the first place!
[root@vps /]# pecl list
Quote from: tm2000 at Jun 14, 2016, 02:57 AMOk thanks - sounds like you are further than I am!! I don't even know how to install the search in the first place!
Just out of curiosity, have you tried:
[root@vps /]# pecl list
to see if you have pecl already on your server? If your host already has Solr installed, it might have the PECL package set up already as well.
Correction. They said Solr is already installed.
Not sure what pecl is?
pecl list
Quote from: tm2000 at Jun 14, 2016, 04:55 PMCorrection. They said Solr is already installed.
Not sure what pecl is?
PECL is just a repository for PHP Extensions. https://pecl.php.net/
Solr is just one of the search engine extensions that are available through PECL.
The command in my last post is done in SSH (Secure Shell), also known as the command prompt or terminal. Do you have SSH access to your server? It should look exactly like a Linux terminal except it connects to your server as opposed to your local computer. As root, run the command:
pecl list
Which will generate a list of all the PHP extensions that were installed by PECL.
Hope that helps!
The documentation says this:
You have a running Solr server with an index that can be used for the MODX installation.
But I cant work out how to go about this.
su - solr -c "/opt/solr/bin/solr create_core cmx"