5/23/04
<< 72 Squared WeblogIn search of a better ranked keyword search
Building an efficient ranked keyword search algorithm is not easy. I've tried several different methods. Someone should start an open source project to develop a better search algorithm. Imagine how powerful that could be.
Here is my own personal approach. First, I build an index of keywords associated with an article in the database. I extract all the keywords from an article and find them in my dictionary table. Then I build an index with a sum of those words in the database. When I search, I exract all the keywords from the search string and use them to build a query that ranks the articles with the most related keywords in the index.
What I really want to do next is find a way to find a way to increase the value of some keywords so that these results tend to bubble to the top of the search pile. Is there a better way to do this?