Creating a Faceted Search View in Drupal using the Search API Modules
ฝัง
- เผยแพร่เมื่อ 10 ก.ย. 2024
- Faceted Searching is a method that allows a user to apply multiple filters of varying dimensions to a list of items on your website. In this tutorial we'll show you how create basic search facets in Drupal using the Search API module.
Tutorial webpage: 3cwebservices....
Follow us on Twitter: / 3cwebdev
Brilliant tutorial, well paced and clear explanation - perfect to start off with, thanks
Thanks for the detailed video, it helped me on the one spot I kept getting stuck on
I genuinely need this. Very Helpful video! thank you very much for sharing.
Very helpful. Thank you for posting this video.
Excellent tutorial. Thank you!
Nicely explained at a great pace. Thanks :)
Hi:
It was a very didactic video tutorial. It has helped me a lot.
Thanks.
Hi, thanks for sharing your knowledge, I'm happy to be first subscriber to your youtube page, please keep uploading high Drupal search (and cool Drupal stuff) videos. Question, how to keep displaying facets when viewing (selecting) a node? When you open a node view always you loose facets and filters, how you accomplish to keep filters so users can choose another node with filters already on?
Hi. I don't think this is possible because Facets are no longer relevant when viewing a Node (or other single entity). The Facets will display the data for the Nodes in a list (multiple nodes) to help narrow it down, so once you're on a single node, Facets are no longer relevant. Hope this helps.
3C Web Services of Tampa Bay Thank you very much for your answer, but I think that loosing filters and facets when displaying a node is not user friendly because user has to begin its search again each time it opens a node, I would like to open a node, then open the next one (or previous) indexed, with a link or button, or users may want to tune the search to view similar content, having a block “more like this” helps but I think it’s not enough, I was thinking in adding a “go back link” but unfortunately it will not work when you arrive to page from an outside link. I have tried to add contextual filters, relationships for “node being viewed” etc. with no luck. Looking at ebay, amazon, ect, users do not loose facets, they keep clicking ads and seeing similar content, how they did manage that? Please I would appreciate any light on these maters. Thank you in advance for any help that you can lead me.
Francisco Cadena Hi, looking at an Amazon (or other) sites as an example, a single product does not have facets and this is a common behavior From within your site, the user could always click the back button to restore facets from the previous page. And/or, you could also display your Nodes inline, within the Faceted View (or use a popup/expand feature to display them). This, however, does not address your point of displaying Facets if a user comes to your node from an outside link. For this, I think you're on the right track about creating a 'more like this' feature. One thing to note is that the facet settings are displayed in the URL and these can be set manually. So, perhaps you can build your 'more' link with the URL parameters you need to redirect the user to a Faceted page from a single Node.
Thanks! great tutorial!
very helpful and nice video
Awesome video!
Thank you!
Excellent video, thank you!
Question: How do I get on the search page (which is created through Views) initially there was no result. That is, the page was blank, only with a search field. Help me please!
Hi! Thanks for the tutorial. I would like to know if there is a way to use boolean operators (AND, OR) in the search field, or phrase queries, like "some words result".
Hi and thanks for a great video, just one thing I have a view created using search api and facets for my ubercart store. I am able to add indexed node: sell price, list price, price to the search api view but am not able to add the display price. However, If i create a normal view (not search api) display price is available.
Any ideas on how to fix this?
The question which no one seems to answer is, how to have a field be a string so facets aren't split apart, but also have that field be searchable via the fulltext search filter. for your example, people can search for author if they want to, or use a facet. I would love to know how to do this.
Thank you for the tutorial! I was wondering if there Is there a nice dropdown search option like Amazon has? For, example: books, dvd...? Once again, thank you!!!
Hello,
First of all nice guide, it's really and nice and helpfull.
I have trouble adding in filter crtiteria, them :
indexed nodes title, tags and author. My values are differents.
I have content : Author uid, Content: Tags (field_tags), Content: Tags (field_tags:delta).
But neither of the above criteria.
Anyone could help me ?
Old videos like this should be forced deleted from the platform.