Ranking fields using VB Component - TechRepublic
General discussion
July 26, 2001 at 02:57 AM
munrrob

Ranking fields using VB Component

by munrrob . Updated 24 years, 11 months ago

I am writing a search component to be hooked into an asp page. I want to return results sorted by their ranking based on three fields;

Primary Categorisation
Secondary Categorisation
Keywords

I want to look at each field and if the word exists then add 1 to a counter for each field. The values will then be written back to the recordset and used for sorting. An example is

PC SC KW
5 5 8
5 4 10
5 4 7
4 3 11
0 5 4
0 3 6
0 0 5
0 0 4
A word will only appear once in each field. Any suggestions as to the best way to do this?

This discussion is locked

All Comments