1

I hope this is not a duplicate of something as I've been searching for hours and I'm pretty confused.

So what I need to do is to have a Search Form/Block like the one the core uses (I've already themed it so if I can use the same one would be splendid, if not, no problem), who's results will be organized in a faceted sort of way kinda like this:

Results:
All(100)
Cakes(43)
Wrappings(12)
Random Stuff(25)
Misc(25)

Cakes, Wrappings, Random Stuff and Misc would be Content Types, and clicking on them (links) should display in a view next to them the appropriate results (as thumbnails).

Since my Content isn't that much I'd like to avoid Solr if possible.

Any hints?

EDIT: In case this wasn't clear, the results are yielded according to given keywords, I don't want a simple sitemap.

2
  • My suggestion is use views.For your case follow this link stackoverflow.com/questions/7046773/… Feb 22, 2012 at 14:09
  • how would views provide a 'search' functionality? I am leaning more towards Search API at the moment.
    – user5005
    Feb 22, 2012 at 14:12

1 Answer 1

1

Check out these tutorials for faceted / "drill-down" / filtering searching and browsing navigation without the need for solr.

http://envisioninteractive.com/drupal/drupal-7-views-with-faceted-filters-without-apachesolr/ (really good tutorial and this worked for me but for me the URLs need to be made more user friendly, not covered by this tutorial admittedly)

http://webwash.net/tutorials/intro-search-api-part-1-how-create-search-pages and http://webwash.net/tutorials/intro-search-api-part-2-faceted-search (similar to the first tutorial)

They use the Database Search module: https://drupal.org/project/search_api_db but the settings can be modified later to use SOLR for when your site hits the big time and needs the sophistication and scalability that SOLR provides. But for now, database search gets you going without needing SOLR.

For pretty URLs check out module: https://drupal.org/project/facetapi_pretty_paths - this module aims to make your URLs generated by the faceted filtering and search pretty.

The drupal recruiter distribution is an example of using facetapi_pretty_paths : https://drupal.org/project/recruiter - on this page you'll find more information including how to run a demo via simplytest.me with just a few clicks!

Myself I will be working out how to use facetapi_pretty_paths in my project and any steps I that work I will follow up on here (not an empty promise as I do write up my findings whenever I can)

Your Answer

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