Oracle Error ORA-29890: specified primary operator does not have an index context

Oracle Error Message

ORA-29890: specified primary operator does not have an index context

Reason for the Error

The primary operator does not have an index and scan contexts.

Solution

Create the primary operator with a context clause.