Advanced search with Drupal (Views and CCK)

25,818

Solution 1

There is a "Faceted Search" module (http://drupal.org/project/faceted_search) that offers an interesting concept of search, also applicable to CCK fields too. You can see a demo here. It rather offers you to select existing value sets (facets) and browse them elegantly, but still it's a search. (Use together with http://drupal.org/project/cck_facets)

Solution 2

Faceted Search and ApacheSolr integration modules are the two (separate) methods I would recommend.

Did you exhaust all of the possibilities of Views exposed filters?

Solution 3

Go through this video tutorial to make custom search functionality using Views in Drupal would be helpful

http://planetghost.com/views_search_drupal

Share:
25,818
Tuomas Paasonen
Author by

Tuomas Paasonen

Updated on July 09, 2022

Comments

  • Tuomas Paasonen
    Tuomas Paasonen almost 2 years

    I'm building a site where products are hold in a content type created with CCK. Products can be associated with multiple taxonomy vocabularities. Now I need an advanced product search which user could use to search by many search arguments (taxonomy terms, CCK field values). I have done quite a lot googling but I haven't been able to find a flexible enough module.

    I have been able to create almost all needed features with Views' arguments but haven't been able to find a way to make the search form without my own custom search box. This isn't really the solution I'm looking for.

    The question(s) follow: Is there a proper module for flexible custom searches or is an own module the only way? Is there a module for argument form for Views.

  • Tuomas Paasonen
    Tuomas Paasonen almost 15 years
    I was actually able to implement the search functionality with Views but wrote my own module for creating and handling the search form.
  • bangpound
    bangpound almost 15 years
    I've done the same thing. If there's a quicker solution that allows for great customization, I've not seen one better than Drupal Form API and a good understanding of executing Views.
  • AlexA
    AlexA almost 15 years
    To sum up: if you know PHP, to search-enable a View - the simplest solution is to build a form with Form API. Sealed.