eulerto / pg_similarity

set of functions and operators for executing similarity queries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New feature: compare array of ids

GrzegorzDrozd opened this issue · comments

Hi,

Can you implement feature that would allow to test similarity between two sets of integers? For example to compare tags of two objects?

select pg_similarity.jaccard_threshold(0.7);
select * from objects where tags ARRAY[1,2,3,4]

As far as I understand Jaccard Coefficient is used for similarity between sets of numbers?

Thank you and have a nice day.