Full-text queries
There are three different modes of full-text queries. The default mode, which is the natural language mode, will only search documents containing at least one of the words that you have specified. The Boolean mode allows you to make more complex queries by using different operators to exclude words, to give a higher relevance to certain words, or to search for a specific phrase instead of unlinked words. The last mode, called query expansion search, will first perform a natural language search in order to retrieve the most relevant terms from the resulting rows. Those terms will then be added to the query, which will be executed again.
Note
In the following section, we will use the Sakila Sample Database. Please install it by following the instructions given on the MySQL website at http://dev.mysql.com/doc/sakila/en/sakila-installation.html.
The natural language mode
In this mode, MariaDB will look for rows that are relevant to the specified query using natural human language...