What operators are available with Engineering Newsfeed Search?
Last updated on August 30, 2023
The boolean full-text search capability of the Engineering Newsfeed supports the following operators:
Operator | Function |
---|---|
+ | A leading plus sign indicates that this word must be present in each row that is returned. |
- | A leading minus sign indicates that this word must not be present in any of the rows that are returned. |
(no operator) | By default (when neither + nor - is specified), the word is optional, but the rows that contain it are rated higher. This mimics the behavior of MATCH() AGAINST() without the IN BOOLEAN MODE modifier. |
@distance | It tests whether two or more words all start within a specified distance from each other, measured in words. Specify the search words within a double-quoted string immediately before the @distance operator, for example, MATCH(col1) AGAINST('"word1 word2 word3" @8' IN BOOLEAN MODE) |
( ) | Parentheses group words into subexpressions. Parenthesized groups can be nested. |
* | The asterisk serves as the truncation (or wildcard) operator. Unlike the other operators, it is appended to the word to be affected. Words match if they begin with the word preceding the * operator. |
" | A phrase that is enclosed within double quote (") characters matches only rows that contain the phrase literally, as it was typed. The full-text engine splits the phrase into words and performs a search in the FULLTEXT index for the words. Nonword characters need not be matched exactly: Phrase searching requires only that matches contain exactly the same words as the phrase and in the same order. For example, "test phrase" matches "test, phrase". |
Did we answer your question?
Related answers
Recently viewed answers
Functionality disabled due to your cookie preferences