Can I combine two SearchGroup in one SOSL query? I want to search both in Name Fields and in Phone fields. Something like
FIND {78*} IN (NAME , PHONE) FIELDS RETURNING Contact(id,name,phone)
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityYou can try like this:
FIND {78*} IN ALL FIELDS
RETURNING Contact(id,name,phone
)
Refer WHERE condition
Updated based on comments