2

I would like to know the best way to filter drupal search results using taxonomy. I want users to be able to search for particular results from a particular taxonomy..this can be done to refine already searched results, or can be done from scratch.

Any module for Drupal 7 that does this well?

1
  • why dont u use views with expose filters
    – monymirza
    Commented Feb 7, 2013 at 8:02

3 Answers 3

0

Use Custom Search module.

This module alters the default search box in many ways. If you need to have options available like in advanced search, but directly in the search box

Or, the other best solution is to use create a view with exposed filters. Here is article about it

1
  • Thanks for the article, I tried custom search but it didn't quite get there :'(
    – Chiko
    Commented Feb 7, 2013 at 8:44
0

I think you should give a try to Extending Drupal 7 search. The form ID on the search result page would be search_form. You can use hook_search_execute() to filter the result as you need.

Or you could also try the Extended search page module, but it is in beta and it requires Search API and Search API pages.

Personally I would write a custom module rather than installing many modules.

0

One of the best solution to this is using Faceted search. You need to switch search engine to Solr to get that. There are several different vendors that sell Solr hosting if you don't want to set that up yourself, including Acquia.

Drupal integration is provided either by Apache Solr search integration or Search API.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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