By gp.mazzola on
Hi everybody,
I am planning to build a web site focused on the search system. Customers chose a fixed number of keywords to tag content.
They would like to give a weight to a tag within a node, in a 1-10 range, to state how relevant is that tag in that node.
This because they would like the possibility to filter search results by tags, and having more relevant content on top in the lists.
Is there some module to achieve this result? Or do I need to develop some custom module?
Thank you in advance for any help!
G.P.
Comments
-
I believe that you need to ascribe a weight to the vocabulary. You would do this when setting up your taxonomy.
Hi Bwv, thanks for your
Hi Bwv, thanks for your answer.
However for what I understand, when I set up a vocabulary in taxonomy setting page, I can give a weight to influence the way vocabularies are shown in a list.
What I would like to obtain is something like that:
*My Vocabulary*
- term_1
- term_2
.....
- term_n
then I would like the possibility to give by example term_1 to node A and say that relevance of that term in that node is 5... and give the same term_1 to node B and say that in that node relevance of that term is 8.
This way when I search my nodes by term_1 I have a way to list more relevant nodes on top.
I hope I made my point clear
Thanks,
G.P.
-
I understand better now, thank you. As far as I know (and I could be wrong -- there might be more information here: http://drupal.org/handbook/modules/taxonomy) -- the only way you can produce search results like you describe is by using the Views module. Views has, I believe, a built in capability to order your nodes according to relevant taxonomy terms.