On Tue, Mar 27, 2007 at 04:14:37AM +0200, Jin wrote:
> thank you jens,I saw ur reply both sides
> for this hot tags function that is if user search 'demo1' with high 
> frequency
> and search 'pika' with low frequency then when we wanna make a rank for 
> them
> we can know which is used high frequency
> for example,we can list the top ten tags but not all
> 
> and i found in our aaf has some specific fields such like 
> ferret_score,ferret_rank
> is that useful for this case?

No, I don't think so. These fields get set by acts_as_ferret for the
results of a query - score is the score as computed by ferret, and rank
the position of the result in the result set, as delivered by ferret
(the order when sorting by rank may be different from the one when
sorting by score if you told ferret to sort results by one or more
fields).

To find out the most used tags I'd probably just use the database, if
you're using acts_as_taggable or something similar this should be easy
to do.

Jens

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to