Re: Grouping By Similarity (using pg_trgm)? - Mailing list pgsql-general

From David G. Johnston
Subject Re: Grouping By Similarity (using pg_trgm)?
Date
Msg-id CAKFQuwauNdeqoT8dGukSHzsJ-vquz2Ewbv+5kKBFQ4KqNrRwig@mail.gmail.com
Whole thread Raw
In response to Re: Grouping By Similarity (using pg_trgm)?  (Cory Tucker <cory.tucker@gmail.com>)
List pgsql-general
On Thu, May 14, 2015 at 1:09 PM, Cory Tucker <cory.tucker@gmail.com> wrote:
That produces pretty much the same results as the CROSS JOIN I was using before.  Because each "my_value" in the table are different, if I group on just their value then I will always have the full result set and a bunch of essentially duplicated results.

Any other ideas/options?


​how do you want to solve the problem:

A is similar to B
B is similar to C
A IS NOT similar to C

​?

I'm not sure that PostgreSQL is the best tool to solve clustering problems...though my experience with them is minimal.

David J.

pgsql-general by date:

Previous
From: Cory Tucker
Date:
Subject: Re: Grouping By Similarity (using pg_trgm)?
Next
From: Dennis
Date:
Subject: BDR table level replication questions