On Jul 12, 3:49 pm, Michel30 <[email protected]> wrote: > I have tried and I think I have it mostly working: it returns ALL > unique docid's. > > What is left is that my code is part of a search function. Originally > I got normalized keywords from a user and used those Q-objects to look > for keywords in a selected set of columns. > > I still have to figure out how to get that into the SQL part..
With the 2-fold solution I suggested (raw SQL query to retrieve latest revisions then "normal" ORM query) you may not have to "get that into the SQL part" - just use it in the second "normal" ORM query. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

