Add a Suggest backend class for Merino
Categories
(Firefox :: Address Bar, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: adw, Assigned: adw)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(1 file)
I'd like to add a SuggestBackendMerino
class to go along with SuggestBackendRust
and SuggestBackendMl
. Then we can add a QuickSuggest.backends
array and have UrlbarProviderQuickSuggest
query all enabled backends. UrlbarProviderQuickSuggest
wouldn't need any Merino-specific code anymore.
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
This adds SuggestBackendMerino
and QuickSuggest.backends
, an array that
contains all backends. So now we have Rust, ML, and Merino backends.
This also makes some changes to relevancy ranking (added in bug 1923187) because
that was done in _fetchMerinoSuggestions()
, which this patch removes.
Previously, ranking was applied to all Merino suggestions at once. With this
patch, it's applied to each suggestion as it's visited by
#filterAndSortSuggestions()
, which is now the right place to do it IMO. It
will be easy to expand it to non-Merino suggestions now if we want.
Depends on D231468
Comment 3•1 month ago
|
||
bugherder |
Description
•