I run 2 SOSL queries -
Query1:
FIND {Athreya}
IN ALL FIELDS
RETURNING Account(Id,Account_Number__c, RecordType.Name,Name LIMIT 16)
Result: 7 records whose field value contains 'Athreya'
Query2:
FIND {Athreya*}
IN ALL FIELDS
RETURNING Account(Id,Account_Number__c, RecordType.Name,Name LIMIT 16)
Result: 7 records whose field value contains 'Athreya'
According to my understanding, Query1
should return records whose any field value = 'Athreya' and Query2
should return records whose any field value contains 'Athreya' (for ex. Athreyas,Athreyag,..).
Is my understanding correct?