thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Data & Analytics · Intermediate

Full-Text Index

An index that supports fast word- and phrase-based searches inside large text columns.

Definition

Full-text indexes tokenize text into words and support CONTAINS or FREETEXT queries (SQL Server), MATCH ... AGAINST (MySQL) or tsvector queries (PostgreSQL), including stemming and ranking. They outperform LIKE '%word%', which cannot use regular indexes.

Example

SELECT * FROM Docs WHERE CONTAINS(Body, 'invoice NEAR overdue');

Exam tip

For keyword search within long text, choose a full-text index, not LIKE with leading wildcards.

Related terms