Wild card search count needs to be triggered on the backend
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Background
We need to move the wild card search count from frontend to backend. Because frontend doesn't know if blob scope has zoekt enabled ahead of time. Currently we call count endpoint from each scope.
Frontend doesn't know if blob search will have zoekt enabled.
- SearchType is only known for current scope
- frontend doesn't know if namespace has zoekt enabled ahead of time
This is causing wrong count result under some specific scenarios for blobs.
Proposal
Modify backend count method to apply wild card search when search param is empty.
Edited by 🤖 GitLab Bot 🤖