On Sat, Jan 10, 2009 at 6:27 AM, Ariel Mauricio Nunez Gomez
<ingenieroar...@gmail.com> wrote:
>>> In the view for a single article, I would like to be able to pull up
>>> related articles based on shared keywords. Just pulling up all the
>>> articles that share at least one keyword would be to imprecise. What
>>> I'd like to do is use some sort of weighting algorithm, so that if
>>> there are articles that share 5 keywords they get pulled up while ones
>>> that only share 1 do not. I've been thinking over ways to do this, but
>>> they all seem to be fairly slow and processor intensive.
>
> Also, if you are looking for performance, you may want to find a way to use
> the SQL aggregation operations (Like Count, Avg, StdDev) to help you with
> your problem.
> That feature is scheduled for Django 1.1 and 'may' be merged into trunk
> soon,

It's a little more certain than "may". I have a couple of small issues
to attend to, but barring a major bug report, I'd estimate that
aggregates will land in trunk by the end of next week.

Yours,
Russ Magee %-)

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

Reply via email to