Ok, thats what i am trying to do:

We have a hugh list of adresses, without using taxonomy for countries and cities. Now i want to build a facet search with the abillity to search this by building the whole search step by step and only with a result at the end of the last step.

For example:
A user clicks on "germany" -> The next thing should be that a list of all cities in germany appear and not the whole result list of germany.
Then the user clicks on "munich" -> Now the results can appear.

Is this possible to do so, without using taxonomy terms for it?

We do not can use SOLR, so we decides to use the Facet Search and Facet CCK Modul.

Thank you in advance

Dennis

Comments

pisco23’s picture

I am no expert on this - but I am a huge fan of FS and have used it on a couple of personal sites - and I think the answer to your question is, partially - yes.

if you have the data as CCK fields, then you can expose these to FS - and by using the Guided Search block (or equivalent view) you can get the process of "drilling down" into your search (Country, State, City, Region etc...) However, I have not tried your exact example - in my case the highest level search term gives me all the nodes that correspond to that - and then the user selects another term to further refine the search - creating a smaller sub-set of the original nodes. You can probably get your desired result by tweaking views.

To achieve the 'hierarchy' you need to order the guided search terms so there is a logical progression for the user

Timbalord’s picture

in my case the highest level search term gives me all the nodes that correspond to that - and then the user selects another term to further refine the search

Thats exactly what i dont want to have. The user shouldnt get the whole list of possible results after selecting the highest level. He should get the result of his last selection.

Better example:

First he selects the country: germany
Now he should only get the whole list of all regions and selects one of it
Then he gets all cities in the selected region and select his city

And now, and only now, he should get a result.

If he would get a result list after selecting germany, he would get a list with over 100.000 results.

Stomper’s picture

How successful were you at achieving your needs with Faceted Search?

I too need similar functionality, except currently it is just limited to one country --> states --> cities.

I also have fields such as "make" and "model" (as in cars). If a user searches "Toyota," it would display all the Toyota "Models" as facets. Upon clicking on a model, such as "Landcruiser," it would then display the states facet. Finally, clicking on a state would display the city facets, clicking on a city would then lead to page with links to the actual node/page for the specific vehicle.

Currently, each facet is a CCK field in a custom CCK custom content type form, namely "State" and "City."

I was planning to use the "CCK Facets" module but noticed there is no stable release for Drupal 6. Is there a reason there is no stable release? Perhaps, the functionality has been added to Faceted Search core?

Timbalord, I'd appreciate the steps you took to "adding a faceted search environment." I just had a brief look at it on my local install, seems a little daunting.

Also, does Faceted Search calculate the count and display them beside the relevant facets by default?

Thanks

raulmuroc’s picture

Subscribing.

Drupal Association individual member