First of, thanks!

This is an extremely useful module.

I wonder whether you have considered to make it possible to make different block for searching through different facets.

For example:

I have a site with locations (spots) for windsurfers and surfers.

Each water sport is a content type, and each type has different categories associated with it. As it is now there is one block available for a facet search and this way it will show certain non necessary categories from the start.

If it was possible to construct different facet search combinations each water sport could have its own block and only the categories associeted with the particular sport would show up in that particular block.

I hope I have explained well.

Comments

David Lesieur’s picture

The main reason why I did not provide each facet with its own block was the lack of an actual use case for that. You just provided one. ;-)

I am concerned a little bit about the hassle of managing many blocks, and requiring administrators to care about block weights in addition to facet weights. But then, the added flexibility might be worth the trouble.

lennart’s picture

Yes, I agree there are some concers about doing this in a way so the user interface remains as good and easy as now.

I like the way it works now. If this could somehow be duplicated so more than one facet search could be constructed, but each contructed in the same way as now. Maybe each could be a tab and then what now are tabs could be subtabs to each tab associated with a particular facet search.

I think the added flexibility is worth because many sites will benefit from the ability to easily search through different content collections.

I am doing another site, where I am building a database of researchers for scientists to contact. With the added functionality I could have users guided through these in a good way and have another facet search for lokking through videos or whatever.

It could also be used with some content and also a guide to find user ( when a user is a node )

Anyway, thanks a lot for considering this feature.

lennart’s picture

Sorry, in the first lines of above, I meant the administrators interface. Not the user interface.

David Lesieur’s picture

I really like the idea of defining multiple faceted searches...

lennart’s picture

Maybe the interface could have one facet search as default (makes sense) in an open 'main tab.' Then another un-open 'main tab' could be named 'add another.'

When pushing the 'add another' the interface for contructing the second one appears. When this is done the third 'main tab' appears with ' add another' and so on.

Since tabs are already used now for different aspect of the search construction these aspects would have to be moved to "sub tabs" of each "main tab" - that is sub tabs of each construction interface.

Just some ideas for the interface. Once again, thanks for considering this :)

David Lesieur’s picture

Title: Discrete facet searches » Multiple search environments

The code is still not ready to be committed, but I'm in the process of implementing this feature. Administrators will be able to define multiple search environments, each environment using its own facets, content types, blocks, settings, and administrator-defined URLs.

This involves major changes to the module... So I'm also taking this opportunity to refactor some of Faceted Search's hooks and make the administration interface cleaner.

Hopefully, this effort will soon lead to a 1.0 beta release. Stay tuned! :-)

David Lesieur’s picture

Status: Active » Fixed

Committed to HEAD. However, some issues still need to be addressed before making an official release.

lennart’s picture

Great news! This makes the module so much more flexible and useful!

Thanks

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.