FREETEXT
and FREETEXTTABLE
FREETEXT
and FREETEXTTABLE
incorporate what Microsoft considers to be the natural way to search. For example, if you were searching on book, you would expect to get hits to rows containing the word books (the plural). If you were searching on the word swimming, you would expect results containing the words swimming, swim, swims, swum, and so on. The FreeText
and FREETEXTTABLE
queries implicitly search on all generations of a word and include a proximity-based search. However, if you wrap your search in double quotation marks, the FREETEXT
and FREETEXTTABLE
predicates do not do any stemming. FREETEXT
and FREETEXTTABLE
also include the TOP_
n_BY_RANK
parameter.
Here are some examples using FREETEXT
and FREETEXTTABLE
Get Microsoft® SQL Server 2008 R2 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.