Search query error messages and warnings
If a search query contains errors, the application displays an error or warning message. The following table describes search query error and warning messages, and provides examples of search queries that trigger the messages.
Message text |
Example search query that triggers this message
|
Warning: term contains a leading wildcard. This term may be too broad and may not run successfully. Note: It is best to not start a search with a wildcard. |
*apple |
Error: one side of the proximity operator must be a single word, phrase, or series of words and/or phrases separated by or. |
(apple AND banana) w/5 (pear AND apricot) |
Error: parentheses are not properly balanced. |
(apple AND (banana OR pear) |
Error: phonic operator # cannot be mixed with a stemming or synonym operator. |
#apple~ |
Error: phonic operator # must be the first character of the word. |
apple# |
Error: quotes are not properly balanced. |
"banana AND "apple pear" |
Error: stemming operator ~ can only be placed at the end of the word. |
abc~d |
Error: synonym operator & must be placed at the end of the word. |
abc&d |
Error: term contains two or more consecutive boolean operators. |
apple AND OR banana |
Error: term or clause begins with an operator. |
AND apple |
Error: term or clause ends with an operator. |
apple OR banana OR |
Error: the negation operator must be in either the form and not or not w/#. |
apple NOT banana |
Error: the proximity operator cannot be preceded by and or. |
apple AND w/2 banana |
Error: wildcard operators cannot be used with the # (phonic), ~ (stemming), or & (synonym) operators. |
#apple* |
Warning: the # character is the phonic search operator. # is not searchable as a character. |
apple# |
Warning: the % character is the fuzzy search operator. % is not searchable as a character. |
100% |
Warning: the & character is the synonym search operator. & is not searchable as a character. |
abc&d |
Warning: term contains !. The wildcard operator character is *. |
apple! |
Warning: term contains ambiguous boolean operators. |
apple AND banana OR pear |
Warning: term contains ambiguous proximity operators. |
apple w/2 banana w/5 pear |
Warning: term contains noise word(s) [comma delimited list of noise words]. Search results will include documents that contain any word in this position. |
apple on the banana |
Warning: the proximity operator must be in the form w/# or pre/#. |
apple /5 banana |
Warning: the term is missing an operator. |
(apple) (banana) |
Warning: term contains a regular expression. This term may be too broad and may not run successfully. |
"##[a-z][a-z][a-z]" |