EdSolr WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
A WordPress plugin to integrate Apache Solr Search into a WordPress instance
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/uoe-dlam/wp-solr/archive/refs/heads/master.zipThis plugin uses basic auth to secure solr.
At the moment the basic auth username and password is set to:
username: solr
password: SolrRocks
On production systems, you should change the default username and password. To do this, you will need to update the security.json file in the root directory.
Change
"credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="},
to
"credentials":{"<my_username>":"<my_password_hash>"},
And copy the new security file to /server/solr
Or alternatively, you can do this on the command line:
Add new user:
curl --user solr:SolrRocks http://localhost:8983/solr/admin/authentication -H 'Content-type:application/json' -d '{"set-user": {"":""}}'
Remove default user:
curl --user solr:SolrRocks http://localhost:8983/solr/admin/authentication -H 'Content-type:application/json' -d '{"delete-user": ["solr"]}'
You should also update the solr.in.sh file (/bin/solr.in.sh)
Add the following variables to the bottom of the file:
SOLR_AUTH_TYPE="basic"
SOLR_AUTHENTICATION_OPTS="-Dbasicauth=:"
Once you have updated security.json and solr.in.sh you should restart your solr server:
/bin/solr stop -p 8983 /bin/solr -p 8983For more info on securing solr, please visit: The Solr Website
TO RE-INDEX BLOGS:
Make sure that you have WP-CLI installed on the machine
To re-index all of the blog posts run the following command in the root directory of this plugin:
wp solr index
Releases
6 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.