Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to allow visitors to a site to search for posts based on various attributes (categories, tags, custom fields).

I have tried using Solr, but this doesn't appear to work.

I tried using the MySolrServer plugins for a local instance of Solr and a hosted instance, but the plugin doesn't appear to work.

I also tried using Solr for Wordpress, but the plugin wouldn't enable.

I don't want to use something like Taxonomy Drill-down.

Bearing those points in mind, how can I now try to implement true faceted search that will enable site visitors to search for posts based on attributes?

share|improve this question
    
What "various attributes" are you talking about? Tags? Categories? Custom fields? –  songdogtech Sep 25 '12 at 2:03
    
Pretty much - I've updated the question to clarify. –  James Sep 25 '12 at 10:02
    
What about Relevanssi wordpress.org/extend/plugins/relevanssi According to their key features, Search comments, tags, categories and custom fields.. It also provides more relevant results. –  Christine Cooper Apr 21 '13 at 19:41
    
Thanks, Christine. I've had a quick look and it doesn't appear to provide a facility of faceted search - just enhanced search across various elements of data. –  James Apr 21 '13 at 23:19

2 Answers 2

I've been working on a plugin (http://wordpress.org/plugins/fantastic-elasticsearch/) that does both faceted search and provides better search capabilities. It doesn't do everything and the kitchen sink, but it is a good starting point (uses ElasticSearch).

share|improve this answer
    
This is basically "link only". Please provide some detail about what your plugin does and doesn't do why you think it solves the OP's problem. –  s_ha_dum Aug 18 '13 at 23:50

One of my favorite ways to do this is to use the Factious plugin. It is still fairly basic and only has a Sidebar widget by default. However, it has an extenable API(ish thing) that lets you write code to place it elsewhere.

The reasons why I like it are this:

  • Written by people who know what they are doing (Code for the People WordPress VIP Partners)
  • Simple
  • Keeps search within WordPress. For me this is huge I'm always skeptical about using third party services.
  • Extendable

Not sure if that is what you are looking for but none the less it should be a tiny bit easier than writing custom WP_Query and will be a good "get your feet wet" into WordPress' Objects.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.