pnp/sp-dev-solutions

Did you Mean feature missing on Search Results

ShubhrJha opened this issue · 0 comments

Category

  • Bug
  • Question

Expected or Desired Behavior

We have configured PnP Search in SharePoint Online. We're using PnP - Search Box, PnP - Search Results, PnP - Search Filters.
We've added queryAlterationResponse also which fetches the data whenever there is a suggestion

Observed Behavior

We're not able to get 'Did you mean' suggestions for any or every wrong spelling we enter in search box.
For few words we do get 'Did you mean' suggestion but for other we don't.
Functionality doesn't seems consistent with all wrong spelling.

Articles Referred

microsoft-search/pnp-modern-search#697
https://microsoft-search.github.io/pnp-modern-search/usage/search-results/data-sources/microsoft-search/
https://learn.microsoft.com/en-us/answers/questions/622493/did-you-mean-suggestions-is-not-working-properly-f

Help Required

We would like to understand how Query Suggestion works as we have added required data in the custom layout.