As a user, I want the most useful search suggestions to show up first when I enter a keyboard (keywords vs. history vs. bookmarks vs. open tabs vs. synced tabs)
With one exception, we should duplicate desktop’s order/ranking rule.
The exception is as follows:
Show search keywords suggestions ahead of browsing history, bookmarks, open tabs, synced tabs, etc.
As I understand it, desktop’s order/ranking rule roughly looks like the following:
| Scenario | Item 1 | Item 2 | What to prioritise and show/hide |
| --- | --- | --- | --- |
| 1 | Open tab | Synced tab | Open tab is prioritised ahead of Synced tab. Show both. |
| 2 | Synced tab | Bookmark | Synced tab is prioritised ahead of Bookmark. Show both. |
| 3 | Open tab | Bookmark | Open tab is shown. Bookmark is not shown. |
Clarifying question for @Verdi:
@brampitoyo I am testing the new search experience in nightly and hadn't gotten around to filing this, but I came across your comment here.
Steps to reproduce:
What happens:
The first result is a search query for https://www.apple.com
Expected result:
First result should be the site I typed in.
This is really unexpected that I would be served a search result instead of the actual url I typed in.
Thoughts?
Hi @brampitoyo,
Why should search always be prioritised as the primary use case on mobile? The address/search/awesomebar has essentially the same functions on mobile and desktop, i.e. to type a web address or search term and it's helpful (and a few people use this frequently) to know if an open or synced tab or bookmark already exists. That's how I use it on desktop and I don't _think_ I'm unusual in that regard - most people's primary use of the awesomebar is not to navigate between their tabs and bookmarks but to go to new addresses and search for things.
So if most people on desktop use the awesomebar mainly for searching yet Firefox does sometimes prioritise other sources, then why shouldn't mobile do the same?
I'm sure Mozilla have telemetry which can confirm this, so if you find it then please share the summary.
Cheers 🙂
@brampitoyo @madb1lly
With one exception, we should duplicate desktop’s order/ranking rule
I don't think it's an exception. On desktop search suggestions are also shown ahead of all other suggestion types by default. These are the default settings of the desktop Firefox:

I think it makes sense to add an option for that in Fenix as well.
Just writing to say that I’m still aware of this issue.
Once #13955 have figured out how desktop solves this problem, we can either copy desktop’s approach outright, or implement a subset of the order/ranking rule.
Be aware that the table I posted above on https://github.com/mozilla-mobile/fenix/issues/13912#issuecomment-675827395 is greatly simplified. It’s correct in principle. But I think the full rule is more complicated than that.
The goal of this project is so that, whatever Firefox device you search on, if your history/bookmarks/tabs are synced, you will get identical search results. Your local open tabs are of course different across devices, and that’s fine if it shows differently. But for everything else – history items, bookmarks, synced tabs, search keywords – we want results to be identical.
Having identical results means an easier time to get to information that you’ve accessed in the past, no matter which device you’re on – as long as you’ve chosen to sync those information, of course.
@lime124 can you please help determine next steps on this?
It looks like the next step is the spike Bram mentioned that needs to be completed.
Most helpful comment
Just writing to say that I’m still aware of this issue.
Once #13955 have figured out how desktop solves this problem, we can either copy desktop’s approach outright, or implement a subset of the order/ranking rule.
Be aware that the table I posted above on https://github.com/mozilla-mobile/fenix/issues/13912#issuecomment-675827395 is greatly simplified. It’s correct in principle. But I think the full rule is more complicated than that.
The goal of this project is so that, whatever Firefox device you search on, if your history/bookmarks/tabs are synced, you will get identical search results. Your local open tabs are of course different across devices, and that’s fine if it shows differently. But for everything else – history items, bookmarks, synced tabs, search keywords – we want results to be identical.
Having identical results means an easier time to get to information that you’ve accessed in the past, no matter which device you’re on – as long as you’ve chosen to sync those information, of course.