clearlydefined / clearlydefined/service
Cannot find fields enabled for suggestions. Provide 'suggesterName' in query
Open
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
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