Can you show what you already have, maybe together with a sample query?
In reply to Re: Hits algorithm by fglock in thread Hits algorithm by smitavempati