I am trying to fire a SOSL query in Apex to find phone number exits in Case module. Below is the example of one of the cases that I am trying to search.
I am using following query to search the record
FIND {503} IN ALL FIELDS RETURNING Case(ContactMobile,ContactPhone, CaseNumber where ( ContactMobile != null or ContactPhone!=null))
Even though there is a ContactMobile
and ContactField
exists in Case
module it does not returning any row
However , if I search the same using SOQL then it returns the results
Both ContactMobile
and ContactField
are read only field and has the proper read only permission , not sure what is the problem here