Skill 3.2.2
Implement full-text search
Key Concepts
A full-text catalog (CREATE FULLTEXT CATALOG) groups full-text indexes, and CREATE FULLTEXT INDEX ON table (columns LANGUAGE 1033) KEY INDEX pk_name indexes columns with a unique, single-column, non-nullable key index. Population runs in the background, and CHANGE_TRACKING = AUTO keeps the index current. Word breakers and stemmers come from the column's language, and a stoplist removes noise words.
The predicates CONTAINS (precise terms, phrases in double quotes, prefix terms such as "hik*", FORMSOF(INFLECTIONAL, run) and NEAR) and FREETEXT (meaning-based matching of a free phrase) filter rows. The table-valued functions CONTAINSTABLE and FREETEXTTABLE return [KEY] and RANK columns, which join back to the table and provide the keyword ranking for hybrid search. Full-text search is available in SQL Server, Azure SQL Database and Azure SQL Managed Instance.