You are here

Search for optional, mandatory, and excluded elements of a query

Sometimes AND and OR are not enough. If you want to find documents that must contain the term "car", score those with the term "red" higher, but do not match those just containing "red".
Operator Description
"|" The field, phrase, group is optional; a match increases the score.
"+" The field, phrase, group is mandatory (Note: this differs from Google - see "=")
"-", "!" The field, phrase, group must not match.
The following example finds documents that contain the term "car", score those with the term "red" higher, but does not match those just containing "red":
+car |red
Note: At least one element of a query must match (or not match) for there to be any results.

All AND and OR constructs can be expressed with these operators.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.