| Tips for Booelan Full-Text Search Examples | |
|---|---|
| apple banana | Find rows that contain at least one of the two words. |
| +apple +juice | Find rows that contain both words. |
| +apple macintosh | Find rows that contain the word "apple", but rank rows higher if they also contain "macintosh". |
| +apple -macintosh | Find rows that contain the word "apple" but not "macintosh". |
| +apple +(>turnover <strudel) | Find rows that contain the words "apple" and "turnover", or "apple" and "strudel" (in any order), but rank "apple turnover" higher than "apple strudel". |
| apple* | Find rows that contain words such as "apple", "apples", "applesauce", or "applet". |
| "some words" | Find rows that contain the exact phrase "some words" (for example, rows that contain "some words of wisdom" but not "some noise words"). Note that the '"' characters that surround the phrase are operator characters that delimit the phrase. They are not the quotes that surround the search string itself. |
| Full-Text with Query Expansion Mode | |
| This mode allows the query to automatically be expanded based on relevant results. Generally, this should be used if the query is too short. For example, you searching for "database" may really mean that "MySQL", "Oracle"', "DB2", and "RDBMS" all are phrases that should match "databases" and should be returned, too. | |