SOQL query
SELECT Id, Name FROM Opportunity
WHERE College__r.Phone LIKE '%7411162213'
OR College__r.OtherPhone LIKE '%7411162213'
on running on developer console it gives result total rows fetched 1
I want its equivalent SOSL query. I converted to following:
FIND {7411162213} IN ALL FIELDS
RETURNING Opportunity(Id, Name WHERE College__r.Phone LIKE '%7411162213'
OR College__r.OtherPhone LIKE '%7411162213')
but this does not give me any result on developer console. Total rows fetched is 0.
Am I missing anything in above SOSL query?
FIND {7411162213} IN ALL FIELDS RETURNING Opportunity(Id, Name, CollegePhoneCalc__c, OtherPhoneCalc__c )