While using Search Query Suggestion REST API in SP2016 On-Premises, we are not getting expected results. e.g. searching for ‘data’ should show up ‘database tuning’, ‘database optimization’ but it does not, there are zero suggestions.

When searched for ‘database’ (the complete word) only search suggestion is ‘database’ i.e. the same word.

How to achieve the same using REST API endpoint used is


Please note that we have also updated Query suggestion enabled in SharePoint and imported few words as like

Database Performance Tuning Performance Testing Sample Suggestion

  • 2
    I believe that query suggestions don't perform partial matches.
    – Greg W
    Apr 21, 2017 at 13:30
  • is there any better alternative to achieve the same? Apr 21, 2017 at 13:41
  • Not that I know of. I only came across it today while troubleshooting on of my farms' query suggestions not showing at all.
    – Greg W
    Apr 21, 2017 at 13:43
  • Thanks for your inputs. will see if someone tried any alternatives and replies back Apr 21, 2017 at 13:53

1 Answer 1


I also got reply from Microsoft team saying below

the Query suggestion REST API does not support partial match, we need to use a full word for getting the related query suggestions in REST API. If you want to make users be able to type a part of the word to get the search suggestions auto populated, then you can use OOTB search box instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.