Question:
I’m creating a database to be used with a Web site. The database contains news stories, which will need to be indexed from a list of keywords that come from separate tables.
These index word tables are “Counties Mentioned,” “Technologies Mentioned,” “Industry Sectors Mentioned,” and “Relevant To!” Each story can have anywhere from one to unlimited keywords from each table.
How do I implement this into a database?
Answer:
Big problem. Fortunately, Microsoft did its homework when they built SQL 7. The full-text engine can automatically build indexes for you of the keywords in your table. It allows linguistic searches and can easily return a list of rows by order of most relevant, as professional search engines do.
For more information, go to Books Online and search in the index using the words full text index or full text query.