How to get the keyword match number for many categories?

Posted by Mike108 on Stack Overflow See other posts from Stack Overflow or by Mike108
Published on 2011-02-16T07:06:25Z Indexed on 2011/02/16 7:25 UTC
Read the original article Hit count: 158

Filed under:
|
|

How to get the keyword match number for many categories?

The scenario is that when I type a product keyword, I want to get the match item number in many categories.

For example, when I type the keyword "iphone" , the page will show the match item number in many categories:

Mobile(5)
battery(2)
app(6)
typeA(2)
typeB(9)
typeC(15)
typeC(1)
typeD(9)
typeE(7)
typeF(8)
......
......
typeZ(5)

How to implement this for a better performance?

I use C# ASP.NET.

© Stack Overflow or respective owner

Related posts about c#

Related posts about algorithm