WP Manifestindependent plugin directory

EdSolr

A WordPress plugin to integrate Apache Solr Search into a WordPress instance

by DLAM Applications Development Team, University of Edinburgh · github.com/uoe-dlam/wp-solr · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/uoe-dlam/wp-solr/archive/refs/heads/master.zip

Readme

wp-solr

This 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 8983

For 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

Read the full README on GitHub →

Releases

TagPublished
v.1.1.1 Jul 28, 2026
v.1.10 Jul 28, 2026
v1.0.4 Jun 13, 2025
v1.0.2 May 12, 2021
v1.0.1 Apr 30, 2020
v1.0.0 Apr 29, 2020

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.