I am working on a number of projects that require a more advanced search than one field input. In particular, limiting by taxonomy term, but also field specific searches.

I have created my own custom module to solve this task, but don't want to find myself with an outdated module during the next release of Drupal, and I think it would be worthwhile to advance the state of search in solutions like Drupal.

Here is what my current search looks like: http://dev.zooid.org/irsearch .. it is based on search.module and you will have to click the 'advanced search' buton to see the extra features. It is not fully implemented, visually it needs taxonomy expansion indicators (twisties) and the search isn't fully functional, but I wanted to find out if there is any work in this direction so I don't duplicate effort, or to see if I could fit this into general Drupal development somehow to prevent bitrot.

The way I did it is to implement a couple of new hooks, [module]_irsearch_fields and [module]_irsearch, which build on the existing search functions. It would be easy to have core modules support this functionality, I'm prepared to do this work myself with some encouragement and guidance.

Regards,

David

Comments

kristen pol’s picture

I need to add similar functionality but it must be implemented and tested by May 1st !!!! argh. If you are willing to share any of your code, that'd certainly be cool :) Otherwise, did you get any offline responses to your post?

Btw, I just registered on your site (as testing/drupal_testing@kristen.org) to try out your search, but it says that it's pending admin approval...

Thanks,
Kristen

Bèr Kessels’s picture

Title: Advanced search features ? » try the aborted taxonomy_search module

I had it working on 4.3 but i'm afraid it wont work on 4.4

I think this is the easiest and quickest way to get what you want.

I am not sure who maintains the search.module now, but i am quite sure that extended seacht facilities will not go into that module.

Ber

kristen pol’s picture

Stupid question: where do I get the aborted module? Can I just grab this from CVS?

Thanks,
Kristen

kristen pol’s picture

Uh, nevermind, I just downloaded the old release, so I suppose it's in there! :O)

jonbob’s picture

Title: try the aborted taxonomy_search module » Allow search by taxonomy term
jonbob’s picture

Better discussion at http://drupal.org/node/view/8099.

nedjo’s picture

Although the discussion cited is relevant, adding support for filtering by category remains a specific feature request.

Current proposed revisions to the trip_search module, see issue at http://drupal.org/node/11753, include filtering by category and could be drawn on for integrating this functionality into the core search.module.

moshe weitzman’s picture

Status: Active » Closed (duplicate)

better discussed at http://drupal.org/node/28159