Appendixes > Error Codes and Messages > Error Messages > Proximity Errors

Proximity Errors
NEAR requires at least two operands—Problematic proximity operator—at least two operands required
The category the Legacy Profile task is importing contains an expression in which a proximity operator occurs with only one operand.
The proximity operators NEAR, PARAGRAPH and SENTENCE require two or more words or phrases to be within a specified distance from each other.
Unrecognized
The category the Legacy Profile task is importing contains an expression in which it does not recognize the usage of the NEAR operator. This error can occur for one of the following reasons:
*
*
the usage of NEAR is unsupported. For example, the Legacy Profile task does not convert nested NEAR statements such as:
dog <NEAR/10> (kennel <NEAR/10> bone)
Adjacent NEAR values should not be different
The category the Legacy Profile task is importing contains an expression in which the distances specified for NEAR operators are not identical. For example:
dog <NEAR/10> kennel <NEAR/5> bone
If the proximity operator NEAR occurs adjacent to another occurrence of NEAR within an expression, the distance specified between operands by each use of NEAR must be the same.
Adjacent SENTENCE operators
The proximity operator SENTENCE occurs adjacent to another instance of SENTENCE within an expression. This expression is not valid VQL. For example:
dog <SENTENCE> cat <SENTENCE> fish
ORDER must come directly before another operator
The category the Legacy Profile task is importing contains an expression in which the ORDER operator does not occur immediately before another operator.
The ORDER operator must apply to another operator. ORDER is followed by an unsupported operator
The category the Legacy Profile task is importing contains an expression in which the ORDER operator does not occurs immediately before a proximity operator.
The ORDER operator can apply only to the proximity operators NEAR, PARAGRAPH and SENTENCE.
Unable to process <ORDER><NEAR>
The category the Legacy Profile task is importing contains an expression in which the ORDER operator occurs immediately before a NEAR operator that does not specify a distance.
When the ORDER operator applies to the proximity operator NEAR, there must be some distance included for NEAR (for example, <NEAR/5>).