O'Reilly logo

MySQL 5.1 Plugin Development by Andrew Hutchings, Sergei Golubchik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Full-text Parser Plugins

Traditionally, SQL only supported searches for values (stored in columns and rows of tables), but not searches within values, unless we count LIKE, that lacks expressive power. Still, often users need an ability to search within values (within text documents, that is), so called full-text search.

In 2000, with the version 3.23.23, MySQL introduced a full-text search capability and a new index type called FULLTEXT to support it. Full-text indexes contain individual words from the TEXT, CHAR, or VARCHAR columns, and they can be used by the MATCH … AGAINST() syntax.

Full-text parser is a component of the full-text search that breaks the value of the TEXT, CHAR, or VARCHAR column into words that will go into the full-text ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required