Skip to content

Blueprint-Marketing/solr-power

 
 

Repository files navigation

Solr Power: An ApacheSolr Plugin for WordPress

Contributors: getpantheon, Outlandish Josh, mattweber, palepurple, allen23
Tags: search
Requires at least: 4.2
Tested up to: 4.2
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Improve your user experience with the Apache Solr search engine for your WordPress website. Requires PHP 5.5 or newer and a Solr search index (both provided out of the box on Pantheon).

Roadmap

This plugin is under active development, and isn't yet a "plug and play" option, though if you are comfortable with plugin development you can make use of it now. We are working towards a more complete set of functionality, and pull requests are welcome. The immediate reoadmap:

  • Out-of-the-box search UI implementation: main search plus a widget.
  • Improved administrative UI that breaks up configuration from debugging, etc.
  • Reporting tools in the admin UI: current state of the index/etc.
  • Developer documentation on using Solr as an alternative backend for WP_Query() calls in general.

Description

Search is critical for your site, but the default search for WordPress leaves a lot to be desired. Improve your user experience with the Apache Solr search engine for your WordPress website.

  • Fast results, with better accuracy
  • Enable faceting on fields such as tags, categories, author, and page type.
  • Indexing and faceting on custom fields
  • Designed to replace default WordPress search.
  • Very developer-friendly: uses the modern [Solarium](http://www.solarium-project.org/] library)

Installation

Using this plugin currently requires that you are a developer. You will need to do template work to implement the user-interface for your search. An example is included, but you should expect to spend some time crafting the experience.

To begin, install the plugin as per normal. If you are installing on Pantheon, you will need to enable the Apache Solr add-on before you can enable the plugin.

Also, if you are running on Pantheon, you will need to use the plugin's administrative UI to post in your schema.xml file. The default which is included with the plugin is a good place to start, but you are free to experiment with your own modifications. You must post the schema in each environment to finish initializing the index. If you're not seeing content going in, it's likely because your schema hasn't yet been posted. You can ignore this if you are running your own Solr infrastructure.

  1. Index your existing content by going to the plugin options screen and clicking "index content".
  2. New content will now be indexed automatically by cron.
  3. See the examples/templates directories for interface implementation starters.

This plugin is under active development, so please create issues on GitHub for any bugs you encounter.

Screenshots

  • None Yet

Changelog

0.1

  • Initial developer release to GitHub.

0.0

About

An open source plugin to connect to Pantheon's Apache Solr search infrastructure, or your own!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 88.6%
  • CSS 7.8%
  • JavaScript 3.6%