I am writing a text search query with SOSL
to match exact phrase. But it's giving results like in a wildcard search.
FIND {CCMS} IN NAME FIELDS RETURNING Account(Id, Name)
Results :
- 001xxxxxxxxxx CCMSI
- 001xxxxxxxxxx CCMSI
- 001xxxxxxxxxx CCMSI
Result set is same for CMSI
, CCMS*
as well.
When I don't use wildcard, I expect the exact text to be matched and returned results. Isn't it the way SOSL
works? I noted few related questions in the forum but this behavior is still confused.