Oracle Solution for Error ora-25951

Solution for Oracle Error ORA-25951

ORA-25951: join index where clause cannot contain OR condition

What triggered the Error:

attempt to create a join index was made, which failed because there was an OR branch in the where clause.

What should we do to fix it:

formulate the where clause without using ORs.