Ben Forta

Blog

January 4, 2007

Ranking SQL Server 2005 Full-Text Search Results

When performing full-text searches you usually want not just results, but a ranking indicating how close a match is to what you are looking for. In SQL Server 2005, ranks are accessed via ranking functions - FULLTEXT searches are ranked using function FULLTEXTTABLE() and CONTAINS searches are...

January 3, 2007

Performing SQL Server CONTAINS Searches

SQL Server 2005 supports two forms of full-text search, FREETEXT and CONTAINS. CONTAINS is used to search for rows that contain words, phrases, partial phrases, words with the same stem, proximity searches, synonyms (using a thesaurus lookup), and more. Here is a simple example: SELECT note_id,...

January 3, 2007

Performing SQL Server FREETEXT Searches

FREETEXT provides a simple mechanism by which to perform SQL Server 2005 full-text searches, matching by meaning as opposed to exact text match. Here is a simple example: SELECT * FROM my_table WHERE FREETEXT(column1, 'rabbit food'); FREETEXT(column1, 'rabbit food') means perform a FREETEXT lookup...

January 3, 2007

Setting Up SQL Server 2005 Full-Text Searching

SQL Server 2005 features an integrated full-text search engine, which several people have e-mailed me to ask about recently. (ColdFusion users can use to perform queries using SQL Server full-text searches). If you want to play with SQL Server 2005 full-text search capabilities, you need to do the...

January 2, 2007

CF Docs IM Bots Back Online

Ugh, I did it again. The CF Docs Bots were offline the past few days because my serial number for JBuddy-CF expired at the end of 2006. I've updated the serial number, and the bots are all back online. Sorry about that. The addresses remain the same: AIM: cflivedocs Google Talk: cfdocs@gmail.com...

Page 267 of 489 (4889 posts)