1. How is it possible to make the module only return nodes, if all terms match?

If I have a node with the terms A and B I just like to get other nodes that are categorized by A and B.

2. Is is possible to limit the match to the language of the node too?

Thanks you!

Comments

schiavone’s picture

I'm looking through the module code now to try and figure out how to do the same thing. I setup the view to use a vocabulary with 2 parent terms each having three children. The parent terms will always match but I want both terms to match. Just a point in the right direction would be helpful.

ajakoan’s picture

I'd like to limit to a preset number of terms. So, to be considered a match nodes must have 3 or more terms in common. Have no idea where to begin with this.

asb’s picture

Category: support » feature

I believe there is simply a crucial part missing for this - a Views filter ("Similarity >= 100%"). Changing to feature request.

PS: Why ">=" and not "="? See #1014524: "Similar By Terms: Similarity" outputs invalid values like "1300%", "480%" ;-)

danieljulia’s picture

I agree that a filter by simmilarity is missing, anyway, is there some trick to do that?

asb’s picture

Well, that depends a bit on the effort you are willing to take. Since 'Similar By Terms' is capable to output the number of matching terms, you might try to build one view sorted by the amount of matching terms, and maybe put this into a computed field; then you might want to embed this first view in a second view (there is a module for that...) and filter by a numeric threshold.

Nicolino77’s picture

Issue summary: View changes

filter by simmilarity is missing - any progress here? Or can somebody propose another solution. I don't get #5.
Thank you.