MySQL Full-Text search

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

MySQL offers FULLTEXT searching. It searches tables with columns containing text for the best matches for words and phrases.

Remarks

FULLTEXT searching works strangely on tables containing small numbers of rows. So, when you're experimenting with it, you may find it helpful to obtain a medium-sized table online. Here's a table of book items, with titles and authors. You can download it, unzip it, and load it into MySQL.

FULLTEXT search is intended for use with human assistance. It's designed to yield more matches than an ordinary WHERE column LIKE 'text%' filtering operation.

FULLTEXT search is available for MyISAM tables. It is also available for InnoDB tables in MySQL version 5.6.4 or later.



Got any MySQL Question?