Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Solr for WordPress

A WordPress plugin that replaces the default WordPress search with Solr.

What version of WordPress does Solr for WordPress work with?

Solr for WordPress works with WordPress 3.0 and greater.

What version of Solr is required.

Solr 1.4 or greater.

Can I enable/disable specific facets.

Yes, from the settings page. Uncheck the "Facet on FIELD" option, for the FIELD you don't want a facet for.

Do I need to run my own Solr server to use this plugin?

No, there are Solr hosting providers that will setup and manager Solr for you. As long as they allow custom schema's and support the standard Solr http api, then the plugin should work. Some sites:

http://www.mysolrserver.com/ http://www.websolr.com/ http://powcloud.com/

Can I run a local instance of Solr for testing?

Yes, you may grab a copy from the apache website: http://www.apache.org/dist/lucene/solr/ Since it runs on java solr is platform independent, just make sure you have java install So go ahead and Download the .tgz/.zip file (there is no difference). 1) Extract the files you have downloaded 2) Copy the schema file (schema.xml) from this plugin to the folder you extracted 'apache-solr-/examples/solr/conf/' (yes overwrite the file there) 3) Open up terminal and then go to where you extracted the files and inside './apache-solr-/examples' run the command "java -jar start.jar"

For any further information please the README that comes with solr.

What is a taxonomy

A taxonomy is a hierarchal facet. This means that your subcategories will be treated as a child to the parent category instead of an individual facet.

Here is what an example category taxonomy look like:

------Los Angeles
---New York
------New York

Here is that same category not treating it as a taxonomy:

-Los Angeles
-New York
-New York

As you can see, treating it as a taxonomy is much better.

I was treating the category as a taxonomy disabled it, now my category facet looks weird

You need to delete and re-index your data.

How do I know what html tags to style in my custom theme

See solr-for-wordpress/template/search.css for an example, or view the source of the search results.

Can I create a custom search page such as http://www.myblog.com/search/?

Yes, it is fairly trivial as well. Follow the steps for custom theme integration. At the top of that page, insert a comment similar to the following:

Login to the WordPress admin GUI, select add new page, set the title of the page to "Search". On the right hand side you will see a drop-down box that says "Template", click that and select "Search". Leave the content of the page blank and publish the page.

You will have have your "/search/" page.

I need the output of this plugin in a different language

Solr for WordPress is internationalized. There is supplied .pot file that you can use for translations. See http://codex.wordpress.org/Translating_WordPress for more details.

How do I find out the page or post id to exclude?

Login to the WordPress admin, select pages, click the page you want to exclude. The post id is what you are looking for, you can find it in the titlebar as the &post= parameter. In this example, the page id is 22, http://www.yourblog.com/wp-admin/page.php?action=edit&post=22.

Requires: 3.0 or higher
Compatible up to: 3.2.1
Last Updated: 6 years ago
Active Installs: 100+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1