Oracle Error ORA-18169: FTST0010 FTOrder not succeeding FTWindow or FTDistance operator

Oracle Error Message

ORA-18169: FTST0010 FTOrder not succeeding FTWindow or FTDistance operator

Reason for the Error

It is a static error if, during the static analysis phase, an expression is found to use an FTOrder operator that does not appear directly succeeding an FTWindow or an FTDistance operator and the implementation enforces this restriction.

Solution

Do not use the FTOrder succeeding FTWindow or FTDistance full-text query operator.