clearlydefined / clearlydefined/service

Cannot find fields enabled for suggestions. Provide 'suggesterName' in query

Open
#727 1 comment 0 reactions 0 assignees View on GitHub
bug waiting_for_response
Dominant language
TypeScript
Stars
51
Forks
46
PR merge metrics
No merged PRs in 30d

Description

This is happening if the search pattern includes the character # and IIS is interpreting that as a fragment ignoring the rest of the url parameters like suggesterName. We have to encode properly the pattern before send the request to Azure Search

Contributor guide

Open the contributing guide

Research direction

Locate the TypeScript code that builds and sends the Azure Search request, then reproduce the problem with a search pattern containing #. Verify that the encoded pattern preserves the suggesterName and remaining URL parameters when the request reaches Azure Search.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
backend, search
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.