You need to sign in to do that
Don't have an account?
Ashish2802
Parameterized Search Issues
Hi,
I am trying to execute a RESTful Parameterized Search using Workbench on Knowledge Articles.
For a relatively small search String i am getting less number of records than a bigger search String, however it should be other way around.
Eg : - /services/data/v49.0/parameterizedSearch?q='sail'&sobject=Knowledge__kav&Knowledge__kav.where=language='en_US'+and+publishStatus='online'+and+Crew_Support__c=true - This is returning around 5 records.
While - /services/data/v49.0/parameterizedSearch?q='sailor'&sobject=Knowledge__kav&Knowledge__kav.where=language='en_US'+and+publishStatus='online'+and+Crew_Support__c=true - This is returning around 15 records.
Can anyone explain the reason behind this ?
I am trying to execute a RESTful Parameterized Search using Workbench on Knowledge Articles.
For a relatively small search String i am getting less number of records than a bigger search String, however it should be other way around.
Eg : - /services/data/v49.0/parameterizedSearch?q='sail'&sobject=Knowledge__kav&Knowledge__kav.where=language='en_US'+and+publishStatus='online'+and+Crew_Support__c=true - This is returning around 5 records.
While - /services/data/v49.0/parameterizedSearch?q='sailor'&sobject=Knowledge__kav&Knowledge__kav.where=language='en_US'+and+publishStatus='online'+and+Crew_Support__c=true - This is returning around 15 records.
Can anyone explain the reason behind this ?
Do you have any "Promoted Search Terms" setup for the articles?
Related: https://help.salesforce.com/articleView?id=promoted_search_terms.htm&type=5
I have tried the same in my org but see an expected behavior.
Is there something additional I should consider to replicate the behavior you are seeing?Thanks