The following sections describe the Alfresco
Search for a single term
Single terms are tokenized before the search according to the appropriate data dictionary definition(s).
Search for a phrase
Phrases are enclosed in double quotes. Any embedded quotes may be escaped using "\". If no field is specified then the default TEXT field will be used, as with searches for a single term.
Search for an exact term
To search for an exact term, prefix the term with "=". This ensures that the term will not be tokenized, therefore you can search for stop words.
Search for fields
Search specific fields rather than the default. Terms, phrases, etc. can all be preceded by a field. If not the default field TEXT is used.
Search for wildcards
Wildcards are supported in terms, phrases, and exact phrases using "*" to match zero, one, or more characters and "?" to match a single character. The "*" wildcard character may appear on its own and implies Google-style. The "anywhere after" wildcard pattern can be combined with the "=" prefix for identifier based pattern matching.
Search for ranges
Inclusive ranges can be specified in Google-style. There is an extended syntax for more complex ranges. Unbounded ranges can be defined using MIN and MAX for numeric and date types and "\u0000" and "\FFFF" for text (anything that is invalid).
Search for fuzzy matching
Fuzzy matching is not currently implemented. The default Lucene implementation is Levenshtein Distance, which is expensive to evaluate.
Any character may be escaped using the backslash "\" in terms, IDs (field identifiers), and phrases. Java unicode escape sequences are supported. Whitespace can be escaped in terms and IDs.
Mixed FTS ID behavior
This relates to the priority defined on properties in the data dictionary, which can be both tokenized or untokenized.
Search for order precedence
Operator precedence is SQL-like (not Java-like). When there is more than one logical operator in a statement, and they are not explicitly grouped using parentheses, NOT is evaluated first, then AND, and finally OR.