I'm wondering if there is a way to filter similar nodes according to a minimum % of similarity ?

There is no similarbyterms filter, but could that be done through a PHP validator for the argument?

Thanks !

Comments

fourmi4x’s picture

Ok I guess this can be done using http://drupal.org/project/viewsphpfilter

Testing this option...

lightsurge’s picture

Would be interested to know if you have any success... I don't have the php know-how to put together a filter for this.

realOFF’s picture

Category: support » feature

+1 for this feature. =)

ajakoan’s picture

Title: Filter by minimum similarity pourcentage » Filter by minimum matched terms

I'd love to see this added as well. It would be great to be able to show only nodes that match with 2 or 3 or whatever number of terms. Even if it was just greater than 1.

lightsurge’s picture

Title: Filter by minimum matched terms » Filter by minimum percentage similarity

That's a different feature request.. If a node is tagged with a large number of terms, it's similarity to another node would be judged in terms of percentile number of similar tags in that other node. So two nodes with identical tags would be judged higher in similarity than if the other node had all the tags of the viewed node but with a hundred others, as they'd be unlikely to be as similar, the latter would be more 'generally' similar.

Nicolino77’s picture

Afrer 4 years, is this feature now live? I really need it. Thanks.

Nicolino77’s picture

Issue summary: View changes

Is this module still maintained?

shelane’s picture

Status: Active » Closed (outdated)

If this is still an issue in the 8.x branch, create a new issue.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.