An error occurred while fetching this tab.
search: refactor suggestions to use streaming search
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: novoselrok
Fixes #24983 (closed)
Instead of using the SearchSuggestions GQL endpoint, I refactored the client suggestions to use streaming search endpoint. For example, to get suggestions for repo:source
filter we transform the query into repo:source type:repo count:50
and use the search results as suggestions.
TODO:
Notes:
context:
suggestions has been removed because contexts are not an eligible search result typerepogroup:
suggestions has been removed for the same reason as well
Push commits to the source branch or add previously merged commits to review them.