Full text search options compatibility
A full text search always starts with a Contains in FTS operator, but that still leaves open a variety of options for forming a query for the full text search engine. These options include a number of full text query operators, connectors and modifiers that vary depending on whether or not the boolean option is checked or not or the search type is "Raw query".
Contains in DB works with the database and not the full text search index. The options for this operator are different than for Contains in FTS.
Paragraph holder
Operator or modifier | Description | Basic FTS query | Boolean or raw FTS query |
---|---|---|---|
- (minus) | Logical NOT | ✔ | ✘ |
not | Logical NOT | ✘ | ✔ |
or | Logical OR | ✔ | ✔ |
and | Logical AND | ✘ | ✔ |
"" (double quotes) | Exact phrase | ✔ | ✔ |
w/N | Forward proximity | ✘ | ✔ |
pre/N | Reverse proximity | ✘ | ✔ |
:: (double colon) | Field contains | ✘ | ✔1 |
contains | Field contains | ✘ | ✔1 |
to | Dynamic field end point connector | ✘ | ✔ |
andany | Mandatory and optional word connector | ✘ | ✔ |
? (question mark) | Single character match wildcard | ✔ | ✔ |
* (asterisk) | Multiple character match wildcard | ✔ | ✔ |
= | Single number match wildcard | ✔ | ✔ |
% (percent) | Fuzzy content modifier | ✔ | ✔ |
# (hash) | Phonic search prefix | ✔ | ✔ |
~ (tilde) | Stemming modifier | ✔ | ✔ |
& (ampersand) | Synonym search modifier | ✔ | ✔ |
~~ (double tilde) | Numeric range connector | ✔ | ✔ |
: (colon) | Variable term weighting | ✔ | ✔ |
## (double hash) | Regular expression prefix | ✔ | ✔ |
xfirstword | Beginning of file proximity anchor | ✘ | ✔ |
xlastword | End of file proximity anchor | ✘ | ✔ |
xfilter | File condition function | ✘ | ✔ |
1 Field contains operations are not possible for File only or Metadata only searches as those search types are already searching inside a field.