You need to sign in to do that
Don't have an account?
Lightning Practice
help on Perfect wildcard search for SOSL
HI all,
Help me out.
I need a SOSL wildcard that retrieves wildcard search exact results and near by
1.Exact Match
2.Starts with first 3 letters similar records.
3.If special characters exists in Name should retrive exact and similiar records
I don't know my SOSl is behaving wierd,
Please help me in good possible ways
Thanks,
Lightning Practice.
Help me out.
I need a SOSL wildcard that retrieves wildcard search exact results and near by
1.Exact Match
2.Starts with first 3 letters similar records.
3.If special characters exists in Name should retrive exact and similiar records
I don't know my SOSl is behaving wierd,
string cus='*'+CustomerName+'*'; LIST<LIST<Sobject>> query ='FInd '+cus+' IN ALL Fields from Object__C(ID)'; Note: here CustomerName is formula field in Object__C
Please help me in good possible ways
Thanks,
Lightning Practice.
You can try with the below way:
https://developer.salesforce.com/docs/atlas.en-us.198.0.apexcode.meta/apexcode/apex_dynamic_sosl.htm?search_text=SOSL
Thanks,
Naren
What you do you mean by Starts with first 3 letters similar records. Few examples will help understand.
Finally any reason of using SOSL, are you searching particual string in any string.