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
this order

Is it posible ?


Now, I would be happy enough with an answer to this first scenario,
but ....

we could imagine that the kw themselves have values, kwA is twice the
weight of kwB


Of course I'm in a sqla environement

regards

NiL

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to