function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ashish2802Ashish2802 

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 ?
SwethaSwetha (Salesforce Developers) 
HI Ashish,
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.
User-added image
User-added image
User-added image

Is there something additional  I should consider to replicate the behavior you are seeing?Thanks