Oracle Error ORA-18170: FTST0011 FTWindow and FTDistance restriction

Oracle Error Message

ORA-18170: FTST0011 FTWindow and FTDistance restriction

Reason for the Error

An implementation may restrict the use of FTWindow and FTDistance to an FTOr that is either a single FTWords or a combination of FTWords involving only the operators && and ||. If it a static error if, during the static analysis phase, an expression is found that violates this restriction and the implementation enforces this restriction.

Solution

Follow FTWindow and FTDistance restriction.