[sqlalchemy] similiraty search

2011-01-29 Thread NiL
Hi all, let's say I have documents and keywords, join by a many to many relation when I display a document detail, I wish to also display other document that have a maximum of common keyword. so, Doc1 had kwA, kwB and kwC if Doc2 has all 3 kw, and Doc3 2 kw only, I'd like to request them in

Re: [sqlalchemy] similiraty search

2011-01-29 Thread Michael Bayer
On Jan 29, 2011, at 3:14 PM, NiL wrote: Hi all, let's say I have documents and keywords, join by a many to many relation when I display a document detail, I wish to also display other document that have a maximum of common keyword. so, Doc1 had kwA, kwB and kwC if Doc2 has all 3