
To search for texts, enter the search phrase in the box at the very top of the screen and then hit the [Search] button or press key F5. The matching texts are searched in the database and will be presented in the list below (see "Handle Search Results" for more details).
FtFind does nothing special with the search phrase entered and
just forwards it "as is" to MySQL. All details on possible search
phrases are therefore documented in MySQL's help file, that is stored in the \Docs
sub-directory of your MySQL directory. The relevant section is "13.6.1
Boolean Full-Text Searches".
Here's the relevant part of this chapter:
The boolean full-text search capability supports the following operators:
+
-
(no operator)
+ nor -
is specified) the word is optional, but the rows that contain it will be
rated higher. This mimics the behavior of MATCH() ... AGAINST()
without the IN BOOLEAN MODE modifier.
> <
>
operator increases the contribution and the < operator
decreases it. See the example below.
( )
~
-
operator.
*
"
The following examples demonstrate some search strings that use boolean full-text operators:
'apple banana'
'+apple +juice'
'+apple macintosh'
'+apple -macintosh'
'+apple +(>turnover <strudel)'
'apple*'
'"some words"'
Words of up to 3 charactes are not indexed by default in
MySQL, so you will get no results when searching for such short words. This
behaviour can be changed by appropriate MySQL settings, but FtFind can't
change this setting yet.
You might get no results or results not containing
a search word, if a word is contained in more than 50% of all texts, as MySQL
treats such words as "irrelevant" for a search.
Be aware that these 50% are easily reached while the database only contains
a small number of texts!
TODO/CHECK: Doc. says that "Boolean full-text searches ... do not use
the 50% threshold", so this issue might not be relevant for FtFind.